OSDN Git Service

[AKC6955][v1.0] Remove duplicate check(s).
[openi2cradio/OpenI2CRadio.git] / power.c
diff --git a/power.c b/power.c
index 82ca02c..a87854c 100644 (file)
--- a/power.c
+++ b/power.c
@@ -30,6 +30,7 @@
 #include "lcd_acm1602.h"
 #include "power.h"
 #include "menu.h"
+#include "backlight.h"
 
 /*
  * Detect reset condition.
@@ -164,7 +165,7 @@ void power_off(unsigned char save)
         IOCB = 0x10; // IOCB4 ONLY.
         OSCCONbits.IDLEN = 0; // Not Idle.
         INTCON2bits.RBIP = 1; // Priority = HIGH;
-        INTCON = 0b0000100;
+        INTCON = 0b00001000;
         T0CONbits.TMR0ON = 0;
         Sleep();
         // Wake up