Skip to content

Commit

Permalink
uint match warn
Browse files Browse the repository at this point in the history
  • Loading branch information
brentru committed Oct 20, 2023
1 parent f24c0af commit e2eeeb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utility/WatchdogESP32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ int WatchdogESP32::enable(int maxPeriodMS) {
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 1, 1)
// Initialize the wdt configuration for ESP-IDF v5.x and above
esp_task_wdt_config_t wdt_config = {
.timeout_ms = maxPeriodMS,
.timeout_ms = (uint32_t)maxPeriodMS,
.idle_core_mask = 0, // Subscribe to the idle task on the APP CPU
.trigger_panic = true,
};
Expand Down

0 comments on commit e2eeeb9

Please sign in to comment.