File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -334,7 +334,6 @@ void UARTSerial::tx_irq(void)
334
334
}
335
335
}
336
336
337
- /* These are all called from critical section */
338
337
void UARTSerial::update_rx_irq ()
339
338
{
340
339
core_util_critical_section_enter ();
@@ -348,6 +347,7 @@ void UARTSerial::update_rx_irq()
348
347
core_util_critical_section_exit ();
349
348
}
350
349
350
+ /* This is called called from critical section or interrupt context */
351
351
void UARTSerial::disable_rx_irq ()
352
352
{
353
353
SerialBase::attach (NULL , RxIrq);
@@ -367,6 +367,7 @@ void UARTSerial::update_tx_irq()
367
367
core_util_critical_section_exit ();
368
368
}
369
369
370
+ /* This is called called from critical section or interrupt context */
370
371
void UARTSerial::disable_tx_irq ()
371
372
{
372
373
SerialBase::attach (NULL , TxIrq);
You can’t perform that action at this time.
0 commit comments