File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ void UARTSerial::update_rx_irq()
339
339
{
340
340
core_util_critical_section_enter ();
341
341
if (_rx_enabled && !_rx_irq_enabled) {
342
- UARTSerial::rx_irq (); // only read from hardware in one place
342
+ UARTSerial::rx_irq ();
343
343
if (!_rxbuf.full ()) {
344
344
SerialBase::attach (callback (this , &UARTSerial::rx_irq), RxIrq);
345
345
_rx_irq_enabled = true ;
@@ -358,7 +358,7 @@ void UARTSerial::update_tx_irq()
358
358
{
359
359
core_util_critical_section_enter ();
360
360
if (_tx_enabled && !_tx_irq_enabled) {
361
- UARTSerial::tx_irq (); // only write to hardware in one place
361
+ UARTSerial::tx_irq ();
362
362
if (!_txbuf.empty ()) {
363
363
SerialBase::attach (callback (this , &UARTSerial::tx_irq), TxIrq);
364
364
_tx_irq_enabled = true ;
You can’t perform that action at this time.
0 commit comments