fix set sub MCU interrupt clear

This commit is contained in:
true 2024-10-25 23:14:39 -07:00
parent 6b84019e0b
commit 65a826bd46
1 changed files with 1 additions and 1 deletions

View File

@ -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 {