From 219d86f7c4e28ce2cb7616963f5b55bb2228af5f Mon Sep 17 00:00:00 2001 From: john stone Date: Thu, 11 Oct 2012 23:32:56 +0200 Subject: [PATCH] added wake isr --- firmware/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firmware/main.c b/firmware/main.c index f1d59dd..d29855c 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -107,11 +107,14 @@ void do_powerDown(void) case 5: //now we can really power down // lets switch everything off oldreg = PCMSK2; + PCIFR = 0; + PCICR |= (1<