tests: drivers: wdt_basic_api: Correct rpi_pico configuration

The max window time of RaspberryPi Pico WDT is 8,388,607 us(0x7FFFFF),
But 20,000ms have been set.

Correcting the value to 8,000ms to pass the test.

This was a problem that was discovered because the fix in
ccedcd1ac0 now properly handles the error.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
This commit is contained in:
TOKITA Hiroshi 2024-08-11 16:43:45 +09:00 committed by Alberto Escolar
commit fab42c1176

View file

@ -107,7 +107,7 @@
#define WDT_TEST_MAX_WINDOW 200U
#endif
#if DT_HAS_COMPAT_STATUS_OKAY(raspberrypi_pico_watchdog)
#define WDT_TEST_MAX_WINDOW 20000U
#define WDT_TEST_MAX_WINDOW 8000U
#define TIMEOUTS 0
#endif
#if DT_HAS_COMPAT_STATUS_OKAY(intel_tco_wdt)