NRF52: Cleanup unused code

pull/10652/head
Naveen Kaje 2018-12-07 13:17:26 -06:00 committed by desmond.chen
parent 8eaf87cd50
commit b17601ef43
1 changed files with 0 additions and 3 deletions

View File

@ -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_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.
@ -844,7 +842,6 @@ void serial_init(serial_t *obj, PinName tx, PinName rx)
first_init = false;
/* Initialize components that serial relies on. */
// nrf_drv_ppi_init();
if (!nrfx_gpiote_is_init()) {
nrfx_gpiote_init();
}