twdt: Fix timeout decimal literals to prevent uint32_t overflow

This commit fixes the decimal literals used in calculating task
watchdog timeouts to prevent them from causing a uint32_t oveflow.

Closes https://github.com/espressif/esp-idf/issues/6648
This commit is contained in:
Darian Leung
2021-09-29 22:45:38 +08:00
parent 0d7b99e6b8
commit b23de0f8a1
2 changed files with 9 additions and 18 deletions

View File

@@ -1165,7 +1165,6 @@ components/esp_system/port/soc/esp32s3/system_internal.c
components/esp_system/port/soc/esp32s3/usb_console.c
components/esp_system/stack_check.c
components/esp_system/system_time.c
components/esp_system/task_wdt.c
components/esp_system/test/test_delay.c
components/esp_system/test/test_reset_reason.c
components/esp_system/test/test_sleep.c