zephyr/drivers/watchdog
Benjamin Valentin 29deef2def drivers: watchdog: sam0: Check if timeout is valid
The upper limit of the timeout should not be 0.
tests/drivers/watchdog/wdt_basic_api checks for this and fails as the
driver currently only checks that the timout does not exceed the upper
bound.
This also makes it check the lower bound, so that the test passes.

Signed-off-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2019-05-08 11:52:22 -05:00
..
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig
Kconfig.cmsdk_apb
Kconfig.esp32
Kconfig.mcux_wdog
Kconfig.nrfx
Kconfig.qmsi
Kconfig.sam
Kconfig.sam0
Kconfig.stm32
iwdg_stm32.c
iwdg_stm32.h
wdog_cmsdk_apb.c drivers: Rename reserved function names 2019-04-03 17:31:00 -04:00
wdt_esp32.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
wdt_mcux_wdog.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
wdt_nrfx.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
wdt_qmsi.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
wdt_sam.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
wdt_sam0.c drivers: watchdog: sam0: Check if timeout is valid 2019-05-08 11:52:22 -05:00