remove arduino loop task

This commit is contained in:
Verkehrsrot committed 2019-08-18 17:45:16 +02:00
1 parent c0692c3879
commit 1de9a0bcd2
1 file changed
+3 -12
+3 -12
View File
@@ -427,12 +427,10 @@ void setup() {
#warning you did not specify a time source, time will not be synched
#endif
/*
// initialize gps time
#if (HAS_GPS)
fetch_gpsTime();
#endif
*/
#if (defined HAS_IF482 || defined HAS_DCF77)
ESP_LOGI(TAG, "Starting Clock Controller...");
@@ -452,15 +450,8 @@ void setup() {
// show compiled features
ESP_LOGI(TAG, "Features:%s", features);
vTaskDelete(NULL);
} // setup()
void loop() {
while (1) {
#if (HAS_LORA)
os_runloop_once(); // execute lmic scheduled jobs and events
#else
delay(2); // yield to CPU
#endif
}
}
void loop() { vTaskDelete(NULL); }