diff --git a/src/bmesensor.cpp b/src/bmesensor.cpp index 4a3b0250..25a1e207 100644 --- a/src/bmesensor.cpp +++ b/src/bmesensor.cpp @@ -170,8 +170,6 @@ void bme_loop(void *pvParameters) { } } #endif - ESP_LOGE(TAG, "BME task ended"); - vTaskDelete(BmeTask); // should never be reached } // bme_loop() diff --git a/src/gpsread.cpp b/src/gpsread.cpp index 27cc0eec..ab06f199 100644 --- a/src/gpsread.cpp +++ b/src/gpsread.cpp @@ -123,8 +123,6 @@ void gps_loop(void *pvParameters) { } // end of infinite loop - vTaskDelete(GpsTask); // shoud never be reached - } // gps_loop() #endif // HAS_GPS \ No newline at end of file diff --git a/src/irqhandler.cpp b/src/irqhandler.cpp index 8bd3313d..955925cc 100644 --- a/src/irqhandler.cpp +++ b/src/irqhandler.cpp @@ -56,7 +56,6 @@ void irqHandler(void *pvParameters) { if (InterruptStatus & SENDCYCLE_IRQ) sendCounter(); } - vTaskDelete(NULL); // shoud never be reached } // esp32 hardware timer triggered interrupt service routines diff --git a/src/led.cpp b/src/led.cpp index 56630c41..624fb7d9 100644 --- a/src/led.cpp +++ b/src/led.cpp @@ -212,7 +212,6 @@ void ledLoop(void *parameter) { // give yield to CPU delay(2); } // while(1) - vTaskDelete(ledLoopTask); // shoud never be reached }; // ledloop() #endif // #if (HAS_LED != NOT_A_PIN) || defined(HAS_RGB_LED)