Skip to content

Commit c51822c

Browse files
author
Sebastian Stockhammer
committed
Fix comments
1 parent 39e42ae commit c51822c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/source/UARTSerial.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,6 @@ void UARTSerial::tx_irq(void)
334334
}
335335
}
336336

337-
/* These are all called from critical section */
338337
void UARTSerial::update_rx_irq()
339338
{
340339
core_util_critical_section_enter();
@@ -348,6 +347,7 @@ void UARTSerial::update_rx_irq()
348347
core_util_critical_section_exit();
349348
}
350349

350+
/* This is called called from critical section or interrupt context */
351351
void UARTSerial::disable_rx_irq()
352352
{
353353
SerialBase::attach(NULL, RxIrq);
@@ -367,6 +367,7 @@ void UARTSerial::update_tx_irq()
367367
core_util_critical_section_exit();
368368
}
369369

370+
/* This is called called from critical section or interrupt context */
370371
void UARTSerial::disable_tx_irq()
371372
{
372373
SerialBase::attach(NULL, TxIrq);

0 commit comments

Comments
 (0)