Skip to content

Commit e2eeeb9

Browse files
committed
uint match warn
1 parent f24c0af commit e2eeeb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utility/WatchdogESP32.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ int WatchdogESP32::enable(int maxPeriodMS) {
1919
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 1, 1)
2020
// Initialize the wdt configuration for ESP-IDF v5.x and above
2121
esp_task_wdt_config_t wdt_config = {
22-
.timeout_ms = maxPeriodMS,
22+
.timeout_ms = (uint32_t)maxPeriodMS,
2323
.idle_core_mask = 0, // Subscribe to the idle task on the APP CPU
2424
.trigger_panic = true,
2525
};

0 commit comments

Comments
 (0)