diff --git a/nametag8_CH592/user/hw/ch32sub.c b/nametag8_CH592/user/hw/ch32sub.c index c74f731..c0b7c95 100644 --- a/nametag8_CH592/user/hw/ch32sub.c +++ b/nametag8_CH592/user/hw/ch32sub.c @@ -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 {