drivers/serial: stm32: Fix indentation in STM32_UART_INIT
Looks better this way Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
b48ba090e4
commit
ccd6b72bc0
1 changed files with 10 additions and 10 deletions
|
@ -769,11 +769,11 @@ static const struct uart_stm32_config uart_stm32_cfg_##index = { \
|
||||||
.enr = DT_INST_CLOCKS_CELL(index, bits) \
|
.enr = DT_INST_CLOCKS_CELL(index, bits) \
|
||||||
}, \
|
}, \
|
||||||
.hw_flow_control = DT_INST_PROP(index, hw_flow_control), \
|
.hw_flow_control = DT_INST_PROP(index, hw_flow_control), \
|
||||||
.parity = DT_INST_PROP(index, parity)\
|
.parity = DT_INST_PROP(index, parity), \
|
||||||
}; \
|
}; \
|
||||||
\
|
\
|
||||||
static struct uart_stm32_data uart_stm32_data_##index = { \
|
static struct uart_stm32_data uart_stm32_data_##index = { \
|
||||||
.baud_rate = DT_INST_PROP(index, current_speed) \
|
.baud_rate = DT_INST_PROP(index, current_speed), \
|
||||||
}; \
|
}; \
|
||||||
\
|
\
|
||||||
DEVICE_AND_API_INIT(uart_stm32_##index, DT_INST_LABEL(index), \
|
DEVICE_AND_API_INIT(uart_stm32_##index, DT_INST_LABEL(index), \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue