From a509186e972f95b5bdd96af27330663376312c24 Mon Sep 17 00:00:00 2001 From: tangweikang Date: Mon, 22 Jul 2019 09:15:25 +0800 Subject: [PATCH] [update][bsp][stm32] drv_wdt.c --- bsp/stm32/libraries/HAL_Drivers/drv_wdt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_wdt.c b/bsp/stm32/libraries/HAL_Drivers/drv_wdt.c index 18b170c42c..dad7db9be4 100644 --- a/bsp/stm32/libraries/HAL_Drivers/drv_wdt.c +++ b/bsp/stm32/libraries/HAL_Drivers/drv_wdt.c @@ -90,7 +90,9 @@ static rt_err_t wdt_control(rt_watchdog_t *wdt, int cmd, void *arg) return -RT_ERROR; } stm32_wdt.is_start = 1; + break; default: + LOG_W("This command is not supported."); return -RT_ERROR; } return RT_EOK;