From 239a84fd681741ea12125bb989e8a54b24b3ae8d Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 17 Nov 2020 19:25:13 +0100 Subject: [PATCH] PIC interrupts are no longer latched on AT+. --- src/pic.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pic.c b/src/pic.c index 80b274ee7..ca2d83022 100644 --- a/src/pic.c +++ b/src/pic.c @@ -196,6 +196,9 @@ pic_update_pending(void) pic.irr |= (1 << pic2.icw3); else pic.irr &= ~(1 << pic2.icw3); + + pic_pending = (find_best_interrupt(&pic) != -1); + return; } if (find_best_interrupt(&pic) != -1) {