[CRITICAL] esp32-s3-lcd-43 loop() missing delay — TWDT exhaustion #1

Open
opened 2026-05-29 22:22:30 +00:00 by david · 0 comments
Owner

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.

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.
david added the critical label 2026-05-29 22:22:30 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: klubhaus/klubhaus-doorbell#1