projects
/
sx
/
simavr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
regExp
home
|
summary
|
tags
|
heads
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
raw
|
patch
| inline |
side by side
(parent:
18b7902
)
Commit
a37330f6cc0d3e034b0f9158218ab9530aa56dfb
author
Jakob Gruber
<jakob.gruber@gmail.com>
Tue, 31 Jul 2012 10:42:59 +0000
(12:42 +0200)
committer
Jakob 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
patch
|
blob
|
history
|
download
diff --git
a/simavr/sim/sim_interrupts.c
b/simavr/sim/sim_interrupts.c
index a9606a07b5e6d3c70a331c8a6b584d1738bd0fe6..e84bf7d1003641fd2e43dc890bdd1d6425399c1a 100644
(file)
--- a/
simavr/sim/sim_interrupts.c
+++ b/
simavr/sim/sim_interrupts.c
@@
-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);