projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
af8cb40
)
altos/attiny: Remove debugging code which frobs PB1
author
Keith Packard
<keithp@keithp.com>
Wed, 31 Oct 2012 02:56:51 +0000
(19:56 -0700)
committer
Keith Packard
<keithp@keithp.com>
Wed, 31 Oct 2012 04:31:27 +0000
(21:31 -0700)
This was clearly stuck there to debug something; not a good idea...
Signed-off-by: Keith Packard <keithp@keithp.com>
src/attiny/ao_clock.c
patch
|
blob
|
history
diff --git
a/src/attiny/ao_clock.c
b/src/attiny/ao_clock.c
index b40f59d4cc36711ce8744cd1632b14440ee23c25..22de8e99352d5041b09bd50af63376e2329ff563 100644
(file)
--- a/
src/attiny/ao_clock.c
+++ b/
src/attiny/ao_clock.c
@@
-22,7
+22,6
@@
static volatile AO_TICK_TYPE ao_wakeup_count;
ISR(TIMER1_COMPA_vect)
{
- PORTB ^= 2;
++ao_tick_count;
if ((int16_t) (ao_tick_count - ao_wakeup_count) >= 0)
ao_wakeup((void *) &ao_tick_count);