mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
grlib/genirq: Taking into account that it could be more than one ISR enabled/disabled
Closes #4385
This commit is contained in:
committed by
Jan Sommer
parent
a274b6fdcb
commit
bc806d41a5
@@ -188,8 +188,8 @@ static int genirq_set_active(
|
||||
return 1;
|
||||
}
|
||||
e = isrentry;
|
||||
} else {
|
||||
enabled += isrentry->enabled;
|
||||
} else if ( isrentry->enabled ) {
|
||||
enabled = 1;
|
||||
}
|
||||
isrentry = isrentry->next;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user