mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Remove explicit reference to current_regs
This commit is contained in:
@@ -139,7 +139,7 @@ void tim6_handler(void)
|
||||
|
||||
/* Check if we are in an interrupt handle */
|
||||
|
||||
if (current_regs)
|
||||
if (up_interrupt_context())
|
||||
{
|
||||
g_highpri.handler++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user