Merge pull request #2884 from balanceTWK/master_wdt
[update][bsp][stm32] drv_wdt.c
This commit is contained in:
commit
be88330f86
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue