Skip to content

Commit 3b21b71

Browse files
Naveen KajeTacoGrandeTX
authored andcommitted
NRF52: Cleanup unused code
1 parent cb054ab commit 3b21b71

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/serial_api.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,6 @@ NRF_ATFIFO_DEF(nordic_nrf5_uart_fifo_1, uint8_t, UART1_FIFO_BUFFER_SIZE);
192192
*/
193193
static uint8_t nordic_nrf5_uart_swi_mask_tx_0 = 0;
194194
static uint8_t nordic_nrf5_uart_swi_mask_rx_0 = 0;
195-
//static uint8_t nordic_nrf5_uart_swi_mask_tx_1 = 0;
196-
//static uint8_t nordic_nrf5_uart_swi_mask_rx_1 = 0;
197195

198196
/**
199197
* Global variables expected by mbed_retarget.cpp for STDOUT.
@@ -843,7 +841,6 @@ void serial_init(serial_t *obj, PinName tx, PinName rx)
843841
first_init = false;
844842

845843
/* Initialize components that serial relies on. */
846-
// nrf_drv_ppi_init();
847844
if (!nrfx_gpiote_is_init()) {
848845
nrfx_gpiote_init();
849846
}

0 commit comments

Comments
 (0)