ESPSomfy-RTS/test/stubs
cjkas 609cd455c6 fix: only touch the task watchdog from tasks that are subscribed to it
Only loop() is subscribed.  setConnected() runs on the WiFi event task
and reached SocketEmitter::endEmit(), whose plain esp_task_wdt_reset()
logged "esp_task_wdt_reset(707): task not found" on every boot.  The web
and socket handlers on async_tcp did the same.

/scanaps on async_tcp called esp_task_wdt_add(NULL) after the scan,
subscribing a task that nothing resets, so the board could panic 15 s
after a scan from the UI.

TaskWdt.h resets only a subscribed task and re-adds a task after a long
call only when it was watched before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 13:45:04 +02:00
..
Arduino.h refactor: time steps with ElapsedTimer::lap() 2026-10-13 15:39:14 +02:00
esp_log.h test: cover the frame codec and command names 2026-10-11 13:20:39 +02:00
esp_task_wdt.h fix: only touch the task watchdog from tasks that are subscribed to it 2026-10-21 13:45:04 +02:00
ETH.h feat: keep Ethernet settings independent of the framework 2026-10-19 21:13:49 +02:00