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:
cf3f980
)
Commit
ca26b609194ea71b06e6f7c247208d4339f181dd
author
hovercraft-github
<hovercraft@yandex.ru>
Tue, 8 Nov 2016 02:15:36 +0000
(10:15 +0800)
committer
hovercraft-github
<hovercraft@yandex.ru>
Tue, 8 Nov 2016 02:15:36 +0000
(10:15 +0800)
simavr/sim/avr_timer.c
patch
|
blob
|
history
|
download
diff --git
a/simavr/sim/avr_timer.c
b/simavr/sim/avr_timer.c
index f82e096e3183187063ce267e580ac520ee9b67de..a1c2b4f96ef771394a66d3ca2d07c4f80dd260b5 100644
(file)
--- a/
simavr/sim/avr_timer.c
+++ b/
simavr/sim/avr_timer.c
@@
-715,7
+715,7
@@
avr_timer_write_pending(
cp[compi] = avr_regbit_get(avr, p->comp[compi].interrupt.raised);
// write the value
- avr_core_watch_write(avr, addr, v);
+ // avr_core_watch_write(avr, addr, v); // This raises flags instead of clearing it.
// clear any interrupts & flags
avr_clear_interrupt_if(avr, &p->overflow, ov);