vTaskDelete code sanitization
This commit is contained in:
parent
4f8d92ea7e
commit
893a87b4a2
@ -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()
|
||||||
|
|
||||||
|
@ -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
|
@ -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
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user