Replace preprocessor "UARTx_ENABLED" with "NRFX_UARTEx_ENABLED".

pull/12160/head
George Beckstein 2020-01-10 11:30:52 -05:00
parent dc19460fa3
commit cb4f3db2a7
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ static struct
PalUartConfig_t config; /*!< PAL UART configuration. */
PalUartState_t state; /*!< PAL UART state. */
nrfx_uarte_t uart; /*!< NRF UART driver instance */
} palUartCb[UART0_ENABLED + UART1_ENABLED] = {{0, {0}, 0, {NRF_UARTE0, NRFX_UARTE0_INST_IDX}}};
} palUartCb[NRFX_UARTE0_ENABLED + NRFX_UARTE1_ENABLED] = {{0, {0}, 0, {NRF_UARTE0, NRFX_UARTE0_INST_IDX}}};
/**************************************************************************************************
Local Functions