diff gsm-fw/bsp/niq32.c @ 162:595192258bc9

gsm-fw: RTC SWE enabled
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 18 Nov 2013 00:52:05 +0000
parents afceeeb2cba1
children 98c6be4d3d8d
line wrap: on
line diff
--- a/gsm-fw/bsp/niq32.c	Mon Nov 18 00:08:43 2013 +0000
+++ b/gsm-fw/bsp/niq32.c	Mon Nov 18 00:52:05 2013 +0000
@@ -34,6 +34,7 @@
 #include "armio.h"
 
 #include "../serial/serialswitch.h"
+#include "rtc/rtc_config.h"
 
 #if 0
 
@@ -374,7 +375,7 @@
 
 void IQ_Rtc_Handler(void)
 {
-#if 0 //(OP_L1_STANDALONE == 0)
+#if CONFIG_GSM //(OP_L1_STANDALONE == 0)
   RTC_ItTimerHandle();
 #endif
 }
@@ -390,7 +391,7 @@
 #if ((CHIPSET == 4) || (CHIPSET == 5) || (CHIPSET == 6) || (CHIPSET == 7) || (CHIPSET == 8) || (CHIPSET == 9) || (CHIPSET == 10) || (CHIPSET == 11) || (CHIPSET == 12))
 void IQ_RtcA_Handler(void)
 {
-  #if 0 //(OP_L1_STANDALONE == 0)
+  #if 1 //(OP_L1_STANDALONE == 0)
     /* INTH_DISABLEONEIT(IQ_RTC_ALARM); *//* RTC ALARM IT  */
     if ( (* (SYS_WORD8 *) RTC_STATUS_REG) & RTC_ALARM )
       RTC_ItAlarmHandle();