arch/esp32s3/esp32s3_wdt_lowerhalf.c: fix printf warning

fix printf warning:

chip/esp32s3_wdt_lowerhalf.c:497: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 10:44:10 +02:00 committed by Alan C. Assis
parent 649e979f58
commit 5d2e0f8c80

View file

@ -494,7 +494,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;
}