mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-20 21:33:07 +08:00
Merge pull request #2884 from balanceTWK/master_wdt
[update][bsp][stm32] drv_wdt.c
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user