Skip to content

Commit 39e42ae

Browse files
author
Sebastian Stockhammer
committed
Remove obsolete comments
- The corresponding section is called from multiple locations now
1 parent 5b54cfb commit 39e42ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/source/UARTSerial.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ void UARTSerial::update_rx_irq()
339339
{
340340
core_util_critical_section_enter();
341341
if (_rx_enabled && !_rx_irq_enabled) {
342-
UARTSerial::rx_irq(); // only read from hardware in one place
342+
UARTSerial::rx_irq();
343343
if (!_rxbuf.full()) {
344344
SerialBase::attach(callback(this, &UARTSerial::rx_irq), RxIrq);
345345
_rx_irq_enabled = true;
@@ -358,7 +358,7 @@ void UARTSerial::update_tx_irq()
358358
{
359359
core_util_critical_section_enter();
360360
if (_tx_enabled && !_tx_irq_enabled) {
361-
UARTSerial::tx_irq(); // only write to hardware in one place
361+
UARTSerial::tx_irq();
362362
if (!_txbuf.empty()) {
363363
SerialBase::attach(callback(this, &UARTSerial::tx_irq), TxIrq);
364364
_tx_irq_enabled = true;

0 commit comments

Comments
 (0)