changeset 110:86b36d9f4b42

l1_init.c: passes compilation, object diffing begins
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Fri, 08 Apr 2016 05:56:05 +0000
parents a038d8cd9647
children ba0b349e718e
files chipsetsw/layer1/cfile/l1_init.c
diffstat 1 files changed, 18 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/cfile/l1_init.c	Fri Apr 08 04:42:08 2016 +0000
+++ b/chipsetsw/layer1/cfile/l1_init.c	Fri Apr 08 05:56:05 2016 +0000
@@ -940,7 +940,9 @@
   // flags for wake-up ....
   l1s.pw_mgr.Os_ticks_required = FALSE;
   l1s.pw_mgr.frame_adjust      = FALSE;
+#if 0	/* not present in TCS211 */
   l1s.pw_mgr.wakeup_time       = 0;
+#endif
 
   // variables for sleep ....
   l1s.pw_mgr.sleep_duration    = 0;
@@ -957,7 +959,9 @@
   l1s.pw_mgr.gaug_count        = 0;
   l1s.pw_mgr.enough_gaug       = FALSE;
         //Nina modify to save power, not forbid deep sleep, only force gauging in next paging
+#if 0	/* not present in TCS211 */
   l1s.force_gauging_next_paging_due_to_CCHR = 0;
+#endif
   l1s.pw_mgr.gauging_task      = INACTIVE;
 
   // GAUGING duration
@@ -1077,8 +1081,10 @@
   l1s.frame_count = 0;
   l1s.forbid_meas = 0;
 #if L1_GPRS
+#if 0	/* not present in TCS211 */
   l1s.tcr_prog_done=0;
 #endif
+#endif
 #if (AUDIO_DEBUG == 1)
   audio_reg_read_status=0;
 #endif
@@ -1117,8 +1123,10 @@
   #endif
 
 #if (L1_GPRS == 1)
+#if 0	/* not present in TCS211 */
    l1s.algo_change_synchro_active = FALSE;
 #endif
+#endif
 
 #if (L1_RF_KBD_FIX == 1)
 l1s.total_kbd_on_time = 5000;
@@ -1174,7 +1182,9 @@
       l1s.next_plus_time = l1s.next_time;
       l1s_increment_time(&(l1s.next_plus_time),1);
       l1s.ctrl_synch_before = FALSE;
-      l1s.next_gauging_scheduled_for_PNP= 0;
+      #if 0	/* not present in TCS211 */
+        l1s.next_gauging_scheduled_for_PNP= 0;
+      #endif
     #endif
   }
 
@@ -1213,7 +1223,7 @@
 
   l1s.version.mcu_tcs_program_release = PROGRAM_RELEASE_VERSION;
   l1s.version.mcu_tcs_internal        = INTERNAL_VERSION;
-  l1s.version.mcu_tcs_official        = MAINTENANCE_VERSION;
+  l1s.version.mcu_tcs_official        = OFFICIAL_VERSION;
 
   #if TESTMODE
     l1s.version.mcu_tm_version    = TESTMODEVERSION;
@@ -1765,11 +1775,13 @@
 #endif
 
   l1_config.tx_pwr_code       = mmi_l1_config->tx_pwr_code;
-  #if IDS
-    l1_config.ids_enable      = mmi_l1_config->ids_enable;
+  #if 0	/* not present in TCS211 */
+    #if IDS
+      l1_config.ids_enable      = mmi_l1_config->ids_enable;
+    #endif
+    l1_config.facch_test.enable = mmi_l1_config->facch_test.enable;
+    l1_config.facch_test.period = mmi_l1_config->facch_test.period;
   #endif
-  l1_config.facch_test.enable = mmi_l1_config->facch_test.enable;
-  l1_config.facch_test.period = mmi_l1_config->facch_test.period;
   l1_config.dwnld             = mmi_l1_config->dwnld;
 
   #if TESTMODE