Remove explicit reference to current_regs

This commit is contained in:
Gregory Nutt 2016-03-09 13:01:20 -06:00
parent 156904d030
commit 3217a2992a
1 changed files with 1 additions and 1 deletions

View File

@ -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++;
}