From f283758649890696bb500392e3473103a48762c3 Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Fri, 1 Jan 2021 22:48:16 +0100 Subject: [PATCH] Code sanitization unneeded xTaskNotfiyFromISR --- src/cyclic.cpp | 2 +- src/senddata.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cyclic.cpp b/src/cyclic.cpp index ae26d4ce..8ccc3086 100644 --- a/src/cyclic.cpp +++ b/src/cyclic.cpp @@ -14,7 +14,7 @@ extern boolean isSDS011Active; #endif void setCyclicIRQ() { - xTaskNotifyFromISR(irqHandlerTask, CYCLIC_IRQ, eSetBits, NULL); + xTaskNotify(irqHandlerTask, CYCLIC_IRQ, eSetBits); } // do all housekeeping diff --git a/src/senddata.cpp b/src/senddata.cpp index 81aa2004..f5738552 100644 --- a/src/senddata.cpp +++ b/src/senddata.cpp @@ -4,7 +4,7 @@ Ticker sendTimer; void setSendIRQ() { - xTaskNotifyFromISR(irqHandlerTask, SENDCYCLE_IRQ, eSetBits, NULL); + xTaskNotify(irqHandlerTask, SENDCYCLE_IRQ, eSetBits); } // put data to send in RTos Queues used for transmit over channels Lora and SPI