forked from Imagelibrary/rtems
grlib/genirq: Taking into account that it could be more than one ISR enabled/disabled
This commit is contained in:
committed by
Jan Sommer
parent
a316a9ddae
commit
5728e8e356
@@ -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