style: add braces around if/while statements
Per guidelines, all statements should have braces around them. We do not have a CI check for this, so a few went in unnoticed. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
912e117e9e
commit
4c32258606
63 changed files with 281 additions and 195 deletions
|
@ -47,8 +47,8 @@ static void mcux_lpuart_poll_out(struct device *dev, unsigned char c)
|
|||
const struct mcux_lpuart_config *config = dev->config->config_info;
|
||||
|
||||
while (!(LPUART_GetStatusFlags(config->base)
|
||||
& kLPUART_TxDataRegEmptyFlag))
|
||||
;
|
||||
& kLPUART_TxDataRegEmptyFlag)) {
|
||||
}
|
||||
|
||||
LPUART_WriteByte(config->base, c);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue