Remove explicit reference to current_regs
This commit is contained in:
parent
156904d030
commit
3217a2992a
|
@ -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++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue