arch/esp32s2/esp32s2_wdt_lowerhalf.c: fix printf warning
fix printf warning: chip/esp32s2_wdt_lowerhalf.c:493:17: error: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' Signed-off-by: raiden00pl <raiden00@railab.me>
This commit is contained in:
parent
1a6cb4c784
commit
649e979f58
1 changed files with 1 additions and 1 deletions
|
|
@ -490,7 +490,7 @@ static int wdt_lh_settimeout(struct watchdog_lowerhalf_s *lower,
|
|||
|
||||
if (timeout == 0 || timeout > MWDT_MAX_TIMEOUT_MS)
|
||||
{
|
||||
wderr("Cannot represent timeout=%" PRIu32 " > %" PRIu32 "\n",
|
||||
wderr("Cannot represent timeout=%" PRIu32 " > %lu\n",
|
||||
timeout, MWDT_MAX_TIMEOUT_MS);
|
||||
return -ERANGE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue