style: boards: comply with MISRA C:2012 Rule 15.6
Add missing braces to comply with MISRA C:2012 Rule 15.6 and also following Zephyr's style guideline. Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
This commit is contained in:
parent
56b6ccb2f4
commit
9113096389
1 changed files with 2 additions and 1 deletions
|
|
@ -35,8 +35,9 @@ static int sparkfun_thing_plus_mgm240p_init(void)
|
|||
return -ENODEV;
|
||||
}
|
||||
ret = gpio_pin_configure_dt(&wake_up_gpio_dev, GPIO_OUTPUT_ACTIVE);
|
||||
if (ret < 0)
|
||||
if (ret < 0) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue