Merge pull request #2884 from balanceTWK/master_wdt

[update][bsp][stm32] drv_wdt.c
This commit is contained in:
Bernard Xiong 2019-07-26 05:59:09 +08:00 committed by GitHub
commit be88330f86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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;