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:
raiden00pl 2025-04-02 09:00:23 +02:00 committed by Alan C. Assis
parent 1a6cb4c784
commit 649e979f58

View file

@ -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;
}