Commit a37330f6cc0d3e034b0f9158218ab9530aa56dfb
authorJakob Gruber <jakob.gruber@gmail.com>
Tue, 31 Jul 2012 10:42:59 +0000 (12:42 +0200)
committerJakob Gruber <jakob.gruber@gmail.com>
Tue, 31 Jul 2012 11:08:25 +0000 (13:08 +0200)
avr_regbit_clear is already called in avr_clear_interrupt.

simavr/sim/sim_interrupts.c

index a9606a07b5e6d3c70a331c8a6b584d1738bd0fe6..e84bf7d1003641fd2e43dc890bdd1d6425399c1a 100644 (file)
@@ -150,7 +150,6 @@ avr_clear_interrupt_if(
 {
        if (avr_regbit_get(avr, vector->raised)) {
                avr_clear_interrupt(avr, vector);
-               avr_regbit_clear(avr, vector->raised);
                return 1;
        }
        avr_regbit_setto(avr, vector->raised, old);