diff --git a/mote/v2/avr/main.c b/mote/v2/avr/main.c index 38ffe2d..a5254f9 100644 --- a/mote/v2/avr/main.c +++ b/mote/v2/avr/main.c @@ -241,6 +241,9 @@ ISR(TIMER1_COMPA_vect) ISR(ANALOG_COMP_vect) { + if (!(ACSR & (1 << ACO))) + return; + disable_led(); event.brown_out++;