We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f24c0af commit e2eeeb9Copy full SHA for e2eeeb9
utility/WatchdogESP32.cpp
@@ -19,7 +19,7 @@ int WatchdogESP32::enable(int maxPeriodMS) {
19
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 1, 1)
20
// Initialize the wdt configuration for ESP-IDF v5.x and above
21
esp_task_wdt_config_t wdt_config = {
22
- .timeout_ms = maxPeriodMS,
+ .timeout_ms = (uint32_t)maxPeriodMS,
23
.idle_core_mask = 0, // Subscribe to the idle task on the APP CPU
24
.trigger_panic = true,
25
};
0 commit comments