[CRITICAL] esp32-s3-lcd-43 loop() missing delay — TWDT exhaustion #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The main loop() in esp32-s3-lcd-43.ino is missing delay(LOOP_YIELD_MS) present in the other two boards. This causes the idle loop to spin without yielding, leading to Task Watchdog Timer (TWDT) exhaustion on ESP32-S3 under load.
Affected: boards/esp32-s3-lcd-43/esp32-s3-lcd-43.ino
Reference: boards/esp32-32e/esp32-32e.ino and boards/esp32-32e-4/esp32-32e-4.ino both call delay(LOOP_YIELD_MS) at end of loop().
Fix: Add delay(LOOP_YIELD_MS); at end of loop() function.