changeset 10:4f002f675fd1

niq32.c: reduced for FFS editor
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 15 May 2020 03:55:23 +0000
parents 227e8621dcf2
children d65489886c6e
files src/cs/drivers/drv_core/inth/niq32.c
diffstat 1 files changed, 14 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/cs/drivers/drv_core/inth/niq32.c	Fri May 15 03:36:42 2020 +0000
+++ b/src/cs/drivers/drv_core/inth/niq32.c	Fri May 15 03:55:23 2020 +0000
@@ -153,7 +153,7 @@
    IQ_Dummy,               /* AIRQ 3 */   
    IQ_FrameHandler,        /* TPU Frame It AIRQ 4 */
    IQ_Dummy,               /* AIRQ 5 */
-#if (OP_L1_STANDALONE == 0)
+#if 0 //(OP_L1_STANDALONE == 0)
    SIM_IntHandler,         /* AIRQ 6 */
 #else
    IQ_Dummy,               /* AIRQ 6 */
@@ -258,7 +258,7 @@
     IQ_Dummy,          /* AIRQ 13 Spi Tx Rx interrupt */
     IQ_Dummy,          /* DMA interrupt */
     IQ_Dummy,          /* LEAD */
-  #if (OP_L1_STANDALONE == 0)
+  #if 0 //(OP_L1_STANDALONE == 0)
       SIM_CD_IntHandler, /* SIM card-detect fast interrupt */
   #else
       IQ_Dummy,          /* SIM card-detect fast interrupt */
@@ -298,10 +298,12 @@
 /*--------------------------------------------------------------*/
 void IQ_Gauging_Handler(void)
 {
+#if 0	/* FC FFS editor */
    GAUGING_Handler();
 #if (OP_L1_STANDALONE == 0)
    RTC_GaugingHandler();
 #endif
+#endif
 } 
 
 
@@ -322,6 +324,7 @@
      IQ_Mask(IQ_EXT);
    #endif
 
+#if 0	/* FC FFS editor */
   // The external IRQ is mapped on the ABB interrupt.
   // The associated HISR ABB_Hisr is activated on reception on the external IRQ.
   if(Activate_ABB_HISR())
@@ -333,6 +336,7 @@
      IQ_Unmask(IQ_EXT);
    #endif
   }
+#endif
 }
 
 #if (CHIPSET != 12)
@@ -359,9 +363,11 @@
 
 void IQ_Rtc_Handler(void)
 {
+#if 0	/* FC FFS editor */
 #if (OP_L1_STANDALONE == 0)
   RTC_ItTimerHandle();
 #endif
+#endif
 }
 
 /*--------------------------------------------------------------*/
@@ -375,11 +381,13 @@
 #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	/* FC FFS editor */
   #if (OP_L1_STANDALONE == 0)
     /* INTH_DISABLEONEIT(IQ_RTC_ALARM); *//* RTC ALARM IT  */
     if ( (* (SYS_WORD8 *) RTC_STATUS_REG) & RTC_ALARM )
       RTC_ItAlarmHandle();
   #endif
+#endif
 }
 
   void IQ_GsmTim_Handler(void)
@@ -448,7 +456,9 @@
 {
    IQ_FrameCount++;
    TMT_Timer_Interrupt();
+#if 0	/* FC FFS editor */
    TP_FrameIntHandler();
+#endif
    #if (OP_L1_STANDALONE == 0)
      #if (TI_PROFILER == 1)
        // TDMA treatment for profiling buffer
@@ -541,7 +551,7 @@
 
 void IQ_KeypadGPIOHandler(void)
 {
-
+#if 0	/* FC FFS editor */
  #if (OP_L1_STANDALONE == 0)
     /*
      * GPIO interrupt must be checked before the keypad interrupt. The GPIO
@@ -566,6 +576,7 @@
       kpd_key_handler ();
     }
  #endif
+#endif
 }   
 
 #elif ((BOARD == 34) || (BOARD == 42) || (BOARD == 43) || (BOARD == 45))