You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with timeout as a large value, the esp32 will panic before expected. The problem?
task_wdt.c
The line wdt_hal_config_stage(&twdt_context, WDT_STAGE0, twdt_config->timeout * 1000000 / TWDT_TICKS_PER_US, WDT_STAGE_ACTION_INT);
should be replaced with wdt_hal_config_stage(&twdt_context, WDT_STAGE0, twdt_config->timeout * (1000000 / TWDT_TICKS_PER_US), WDT_STAGE_ACTION_INT);
to avoid uint_32 overflow issues
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
ESP32 Watchdog timer limited to approximately 1 hour, fix herein
ESP32 Watchdog timer limited to approximately 1 hour, fix herein (IDFGH-4847)
Mar 1, 2021
When attaching a watchdog time to a thread,
with timeout as a large value, the esp32 will panic before expected. The problem?
task_wdt.c
The line
wdt_hal_config_stage(&twdt_context, WDT_STAGE0, twdt_config->timeout * 1000000 / TWDT_TICKS_PER_US, WDT_STAGE_ACTION_INT);
should be replaced with
wdt_hal_config_stage(&twdt_context, WDT_STAGE0, twdt_config->timeout * (1000000 / TWDT_TICKS_PER_US), WDT_STAGE_ACTION_INT);
to avoid uint_32 overflow issues
The text was updated successfully, but these errors were encountered: