forked from Makuna/NeoPixelBus
Fix Warnings (#566)
This commit is contained in:
@@ -139,7 +139,9 @@ void NeoEsp8266UartInterruptContext::Detach(uint8_t uartNum)
|
||||
ETS_UART_INTR_ENABLE();
|
||||
}
|
||||
|
||||
void IRAM_ATTR NeoEsp8266UartInterruptContext::Isr(void* param)
|
||||
// The xtos_1int handler calls with param1 as the arg, param2 as a pointer
|
||||
// to an exception frame in memory.
|
||||
void IRAM_ATTR NeoEsp8266UartInterruptContext::Isr(void* param, [[maybe_unused]] void* exceptionFrame)
|
||||
{
|
||||
// make sure this is for us
|
||||
if (param == s_uartInteruptContext)
|
||||
|
@@ -79,7 +79,7 @@ private:
|
||||
volatile const uint8_t* _asyncBuffEnd;
|
||||
volatile static NeoEsp8266UartInterruptContext* s_uartInteruptContext[2];
|
||||
|
||||
static void IRAM_ATTR Isr(void* param);
|
||||
static void IRAM_ATTR Isr(void* param, void* exceptionFrame);
|
||||
};
|
||||
|
||||
// this template feature class is used a base for all others and contains
|
||||
|
@@ -318,7 +318,7 @@ public:
|
||||
return _sizeData;
|
||||
};
|
||||
|
||||
void applySettings(const SettingsObject& settings)
|
||||
void applySettings([[maybe_unused]] const SettingsObject& settings)
|
||||
{
|
||||
}
|
||||
|
||||
|
@@ -88,7 +88,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void applySettings(const SettingsObject& settings)
|
||||
void applySettings([[maybe_unused]] const SettingsObject& settings)
|
||||
{
|
||||
}
|
||||
|
||||
|
@@ -81,7 +81,7 @@ public:
|
||||
_hspi->writeBytes(const_cast<uint8_t*>(data), dataSize);
|
||||
}
|
||||
|
||||
void applySettings(const SettingsObject& settings)
|
||||
void applySettings([[maybe_unused]] const SettingsObject& settings)
|
||||
{
|
||||
_speed.applySettings(settings);
|
||||
}
|
||||
|
@@ -112,7 +112,7 @@ public:
|
||||
return _sizeData;
|
||||
};
|
||||
|
||||
void applySettings(const SettingsObject& settings)
|
||||
void applySettings([[maybe_unused]] const SettingsObject& settings)
|
||||
{
|
||||
_wire.applySettings(settings);
|
||||
}
|
||||
|
Reference in New Issue
Block a user