diff options
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/as3525/system-as3525.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c index e973354b8b..d68f2c4f00 100644 --- a/firmware/target/arm/as3525/system-as3525.c +++ b/firmware/target/arm/as3525/system-as3525.c | |||
@@ -87,6 +87,10 @@ static void UIRQ(void) | |||
87 | { | 87 | { |
88 | unsigned int irq_no = 0; | 88 | unsigned int irq_no = 0; |
89 | int status = VIC_IRQ_STATUS; | 89 | int status = VIC_IRQ_STATUS; |
90 | |||
91 | if(status == 0) | ||
92 | panicf("Unhandled IRQ (source unknown!)"); | ||
93 | |||
90 | while((status >>= 1)) | 94 | while((status >>= 1)) |
91 | irq_no++; | 95 | irq_no++; |
92 | 96 | ||