vTaskDelete code sanitization

This commit is contained in:
Verkehrsrot 2019-04-07 16:13:41 +02:00
parent 4f8d92ea7e
commit 893a87b4a2
4 changed files with 0 additions and 6 deletions

View File

@ -170,8 +170,6 @@ void bme_loop(void *pvParameters) {
} }
} }
#endif #endif
ESP_LOGE(TAG, "BME task ended");
vTaskDelete(BmeTask); // should never be reached
} // bme_loop() } // bme_loop()

View File

@ -123,8 +123,6 @@ void gps_loop(void *pvParameters) {
} // end of infinite loop } // end of infinite loop
vTaskDelete(GpsTask); // shoud never be reached
} // gps_loop() } // gps_loop()
#endif // HAS_GPS #endif // HAS_GPS

View File

@ -56,7 +56,6 @@ void irqHandler(void *pvParameters) {
if (InterruptStatus & SENDCYCLE_IRQ) if (InterruptStatus & SENDCYCLE_IRQ)
sendCounter(); sendCounter();
} }
vTaskDelete(NULL); // shoud never be reached
} }
// esp32 hardware timer triggered interrupt service routines // esp32 hardware timer triggered interrupt service routines

View File

@ -212,7 +212,6 @@ void ledLoop(void *parameter) {
// give yield to CPU // give yield to CPU
delay(2); delay(2);
} // while(1) } // while(1)
vTaskDelete(ledLoopTask); // shoud never be reached
}; // ledloop() }; // ledloop()
#endif // #if (HAS_LED != NOT_A_PIN) || defined(HAS_RGB_LED) #endif // #if (HAS_LED != NOT_A_PIN) || defined(HAS_RGB_LED)