Skip to content

Commit 9a0c387

Browse files
nordic-krchnordicjm
authored andcommitted
[nrf fromtree] 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. Signed-off-by: Krzysztof Chruściński <[email protected]> (cherry picked from commit a98bde9)
1 parent c7124d9 commit 9a0c387

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/serial/uart_nrfx_uarte.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2187,7 +2187,7 @@ static int uarte_nrfx_pm_action(const struct device *dev,
21872187
#if UARTE_BAUDRATE_RETENTION_WORKAROUND
21882188
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)