Mercurial > public > hwos_code
diff src/sleepmode.asm @ 28:fcaf94b913db
rx isr
author | heinrichsweikamp |
---|---|
date | Sat, 20 Jul 2013 16:02:35 +0200 |
parents | 11d4fc797f74 |
children | e4e91fe8b09d |
line wrap: on
line diff
--- a/src/sleepmode.asm Wed Jul 17 13:22:51 2013 +0200 +++ b/src/sleepmode.asm Sat Jul 20 16:02:35 2013 +0200 @@ -23,15 +23,14 @@ #include "external_flash.inc" #include "ghostwriter.inc" #include "i2c.inc" +#include "mcp.inc" gui CODE global sleeploop sleeploop: ; enter sleepmode! call disable_ir ; IR off - bcf mcp_power ; RX off - btfsc mcp_power - bra $-4 + call mcp_sleep bcf LEDg bcf LEDr call TFT_Display_FadeOut