refactor: suppressed unused parameter warnings
This commit is contained in:
1 parent
f4f74e9d5a
commit
e2455322ac
1 file changed
+2
@@ -424,6 +424,7 @@ static esp_err_t _zh_pcf8574_task_init(const zh_pcf8574_init_config_t *config)
|
|||||||
|
|
||||||
static void IRAM_ATTR _zh_pcf8574_isr_handler(void *arg)
|
static void IRAM_ATTR _zh_pcf8574_isr_handler(void *arg)
|
||||||
{
|
{
|
||||||
|
(void)arg;
|
||||||
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
|
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
|
||||||
if (xSemaphoreGiveFromISR(_interrupt_semaphore, &xHigherPriorityTaskWoken) != pdTRUE)
|
if (xSemaphoreGiveFromISR(_interrupt_semaphore, &xHigherPriorityTaskWoken) != pdTRUE)
|
||||||
{
|
{
|
||||||
@@ -437,6 +438,7 @@ static void IRAM_ATTR _zh_pcf8574_isr_handler(void *arg)
|
|||||||
|
|
||||||
static void IRAM_ATTR _zh_pcf8574_isr_processing_task(void *pvParameter) // -V2008
|
static void IRAM_ATTR _zh_pcf8574_isr_processing_task(void *pvParameter) // -V2008
|
||||||
{
|
{
|
||||||
|
(void)pvParameter;
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
xSemaphoreTake(_interrupt_semaphore, portMAX_DELAY);
|
xSemaphoreTake(_interrupt_semaphore, portMAX_DELAY);
|
||||||
|
|||||||
Reference in new issue
Block a user