fix set sub MCU interrupt clear
This commit is contained in:
parent
6b84019e0b
commit
65a826bd46
|
@ -87,7 +87,7 @@ void ch32sub_process()
|
|||
for (i = 0; i < 8; i++) {
|
||||
if (flags & (1 << i)) {
|
||||
if (intr_cb[i]) {
|
||||
clear |= (i << 1);
|
||||
clear |= (1 << i);
|
||||
intr_cb[i]();
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue