Skip to content

Commit cb4f3db

Browse files
committed
Replace preprocessor "UARTx_ENABLED" with "NRFX_UARTEx_ENABLED".
1 parent dc19460 commit cb4f3db

File tree

1 file changed

+1
-1
lines changed
  • features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NORDIC_CORDIO/TARGET_NRF5x/stack/sources

1 file changed

+1
-1
lines changed

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NORDIC_CORDIO/TARGET_NRF5x/stack/sources/pal_uart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ static struct
5252
PalUartConfig_t config; /*!< PAL UART configuration. */
5353
PalUartState_t state; /*!< PAL UART state. */
5454
nrfx_uarte_t uart; /*!< NRF UART driver instance */
55-
} palUartCb[UART0_ENABLED + UART1_ENABLED] = {{0, {0}, 0, {NRF_UARTE0, NRFX_UARTE0_INST_IDX}}};
55+
} palUartCb[NRFX_UARTE0_ENABLED + NRFX_UARTE1_ENABLED] = {{0, {0}, 0, {NRF_UARTE0, NRFX_UARTE0_INST_IDX}}};
5656

5757
/**************************************************************************************************
5858
Local Functions

0 commit comments

Comments
 (0)