File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52 Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -251,9 +251,6 @@ static void nordic_nrf5_uart_callback_handler(uint32_t instance)
251
251
*/
252
252
static void nordic_nrf5_uart_event_handler_endtx (int instance )
253
253
{
254
- /* Disable ENDTX event again. */
255
- nrf_uarte_int_disable (nordic_nrf5_uart_register [instance ], NRF_UARTE_INT_ENDTX_MASK );
256
-
257
254
/* Release mutex. As the owner this call is safe. */
258
255
nordic_nrf5_uart_state [instance ].tx_in_progress = 0 ;
259
256
@@ -277,9 +274,6 @@ static void nordic_nrf5_uart_event_handler_endtx(int instance)
277
274
#if DEVICE_SERIAL_ASYNCH
278
275
static void nordic_nrf5_uart_event_handler_endtx_asynch (int instance )
279
276
{
280
- /* Disable ENDTX interrupt. */
281
- nrf_uarte_int_disable (nordic_nrf5_uart_register [instance ], NRF_UARTE_INT_ENDTX_MASK );
282
-
283
277
/* Set Tx done and reset Tx mode to be not asynchronous. */
284
278
nordic_nrf5_uart_state [instance ].tx_in_progress = 0 ;
285
279
nordic_nrf5_uart_state [instance ].tx_asynch = false;
You can’t perform that action at this time.
0 commit comments