File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libraries/mbed/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1693,14 +1693,14 @@ int serial_irq_handler_asynch(serial_t *obj)
1693
1693
}
1694
1694
}else {
1695
1695
if (obj -> serial .periph .uart -> IEN & USART_IEN_TXC ){
1696
- USART_IntDisable (obj -> serial .periph .leuart ,USART_IEN_TXC );
1696
+ USART_IntDisable (obj -> serial .periph .uart ,USART_IEN_TXC );
1697
1697
/* Clean up */
1698
1698
serial_dma_irq_fired [obj -> serial .dmaOptionsTX .dmaChannel ] = false;
1699
1699
serial_tx_abort_asynch (obj );
1700
1700
/* Notify CPP land of completion */
1701
1701
return SERIAL_EVENT_TX_COMPLETE & obj -> serial .events ;
1702
1702
}else {
1703
- USART_IntEnable (obj -> serial .periph .leuart ,USART_IEN_TXC );
1703
+ USART_IntEnable (obj -> serial .periph .uart ,USART_IEN_TXC );
1704
1704
}
1705
1705
}
1706
1706
} else {
You can’t perform that action at this time.
0 commit comments