mirror of https://github.com/ARMmbed/mbed-os.git
NRF52: Cleanup unused code
parent
8eaf87cd50
commit
b17601ef43
|
@ -193,8 +193,6 @@ NRF_ATFIFO_DEF(nordic_nrf5_uart_fifo_1, uint8_t, UART1_FIFO_BUFFER_SIZE);
|
||||||
*/
|
*/
|
||||||
static uint8_t nordic_nrf5_uart_swi_mask_tx_0 = 0;
|
static uint8_t nordic_nrf5_uart_swi_mask_tx_0 = 0;
|
||||||
static uint8_t nordic_nrf5_uart_swi_mask_rx_0 = 0;
|
static uint8_t nordic_nrf5_uart_swi_mask_rx_0 = 0;
|
||||||
//static uint8_t nordic_nrf5_uart_swi_mask_tx_1 = 0;
|
|
||||||
//static uint8_t nordic_nrf5_uart_swi_mask_rx_1 = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Global variables expected by mbed_retarget.cpp for STDOUT.
|
* Global variables expected by mbed_retarget.cpp for STDOUT.
|
||||||
|
@ -844,7 +842,6 @@ void serial_init(serial_t *obj, PinName tx, PinName rx)
|
||||||
first_init = false;
|
first_init = false;
|
||||||
|
|
||||||
/* Initialize components that serial relies on. */
|
/* Initialize components that serial relies on. */
|
||||||
// nrf_drv_ppi_init();
|
|
||||||
if (!nrfx_gpiote_is_init()) {
|
if (!nrfx_gpiote_is_init()) {
|
||||||
nrfx_gpiote_init();
|
nrfx_gpiote_init();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue