Skip to content

Commit 75de5e8

Browse files
committed
[nrf fromlist] drivers: serial: nrfx_uarte: Add missing closing bracket
A code ifdefed by UARTE_BAUDRATE_RETENTION_WORKAROUND was missing a closing bracket. It was missed because CI did not compile any target that is applying this workaround and enables code compilation. Upstream PR: zephyrproject-rtos/zephyr#80201 Signed-off-by: Krzysztof Chruściński <[email protected]>
1 parent 2f39c0a commit 75de5e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/serial/uart_nrfx_uarte.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2185,9 +2185,9 @@ static int uarte_nrfx_pm_action(const struct device *dev,
21852185

21862186
nrf_uarte_enable(uarte);
21872187
#if UARTE_BAUDRATE_RETENTION_WORKAROUND
2188-
nrf_uarte_baudrate_set(get_uarte_instance(dev),
2188+
nrf_uarte_baudrate_set(get_uarte_instance(dev),
21892189
COND_CODE_1(CONFIG_UART_USE_RUNTIME_CONFIGURE,
2190-
(data->nrf_baudrate), (cfg->nrf_baudrate));
2190+
(data->nrf_baudrate), (cfg->nrf_baudrate)));
21912191
#endif
21922192

21932193
#ifdef UARTE_ANY_ASYNC

0 commit comments

Comments
 (0)