Merge pull request #547 from AugustQu/SDS011

Sds011
This commit is contained in:
Verkehrsrot authored and GitHub committed 2020-02-08 12:56:57 +01:00
commit 8da544f60f
2 files changed
-5

No files matched your search

-2
View File
@@ -14,9 +14,7 @@ extern boolean isSDS011Active;
#endif #endif
void housekeeping() { void housekeeping() {
static int counter = 0;
xTaskNotifyFromISR(irqHandlerTask, CYCLIC_IRQ, eSetBits, NULL); xTaskNotifyFromISR(irqHandlerTask, CYCLIC_IRQ, eSetBits, NULL);
ESP_LOGI( TAG, "in Housekeeping(): %d", counter++);
} }
// do all housekeeping // do all housekeeping
-3
View File
@@ -9,10 +9,7 @@ extern float pm25;
#endif #endif
void sendcycle() { void sendcycle() {
static int counter = 0;
xTaskNotifyFromISR(irqHandlerTask, SENDCYCLE_IRQ, eSetBits, NULL); xTaskNotifyFromISR(irqHandlerTask, SENDCYCLE_IRQ, eSetBits, NULL);
ESP_LOGI( TAG, "in sendcycle(): %d", counter++);
} }
// put data to send in RTos Queues used for transmit over channels Lora and SPI // put data to send in RTos Queues used for transmit over channels Lora and SPI