Fix comments

pull/14498/head
Sebastian Stockhammer 2021-05-04 13:41:32 +02:00
parent 39e42ae4c0
commit c51822ccf2
1 changed files with 2 additions and 1 deletions

View File

@ -334,7 +334,6 @@ void UARTSerial::tx_irq(void)
}
}
/* These are all called from critical section */
void UARTSerial::update_rx_irq()
{
core_util_critical_section_enter();
@ -348,6 +347,7 @@ void UARTSerial::update_rx_irq()
core_util_critical_section_exit();
}
/* This is called called from critical section or interrupt context */
void UARTSerial::disable_rx_irq()
{
SerialBase::attach(NULL, RxIrq);
@ -367,6 +367,7 @@ void UARTSerial::update_tx_irq()
core_util_critical_section_exit();
}
/* This is called called from critical section or interrupt context */
void UARTSerial::disable_tx_irq()
{
SerialBase::attach(NULL, TxIrq);