drivers: add mising braces to single line if statements
Following zephyr's style guideline, all if statements, including single line statements shall have braces. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
a408b56e12
commit
49b36ead95
45 changed files with 243 additions and 146 deletions
|
@ -264,9 +264,9 @@ static int wdt_npcx_disable(const struct device *dev)
|
|||
* Ensure we have waited at least 3 watchdog ticks before
|
||||
* stopping watchdog
|
||||
*/
|
||||
while (k_uptime_get() - data->last_watchdog_touch <
|
||||
NPCX_WDT_MIN_WND_TIME)
|
||||
while (k_uptime_get() - data->last_watchdog_touch < NPCX_WDT_MIN_WND_TIME) {
|
||||
continue;
|
||||
}
|
||||
|
||||
/*
|
||||
* Stop and unlock watchdog by writing 87h, 61h and 63h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue