From: Keith Packard Date: Wed, 31 Oct 2012 02:56:51 +0000 (-0700) Subject: altos/attiny: Remove debugging code which frobs PB1 X-Git-Tag: 1.1.9.2~5 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=fcdaa0d748058a7f52a1bdc1a1627dc394762e5a altos/attiny: Remove debugging code which frobs PB1 This was clearly stuck there to debug something; not a good idea... Signed-off-by: Keith Packard --- diff --git a/src/attiny/ao_clock.c b/src/attiny/ao_clock.c index b40f59d4..22de8e99 100644 --- 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);