comparison gsm-fw/L1/cust0/l1_cust.c @ 647:a60b375014e3

gsm-fw/L1/cust0/l1_cust.c: s/CONFIG_GSM/CONFIG_INCLUDE_SIM/
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 04 Sep 2014 05:40:55 +0000
parents d1df7544f102
children 452a4aea3fc5
comparison
equal deleted inserted replaced
646:7310ce904148 647:a60b375014e3
20 #include "l1_trace.h" 20 #include "l1_trace.h"
21 #include "l1_macro.h" 21 #include "l1_macro.h"
22 #include "../../serial/serialswitch.h" 22 #include "../../serial/serialswitch.h"
23 #include "../../bsp/abb+spi/abb.h" 23 #include "../../bsp/abb+spi/abb.h"
24 24
25 #if CONFIG_GSM 25 #if CONFIG_INCLUDE_SIM
26 #include "../../bsp/sim.h" 26 #include "../../bsp/sim.h"
27 #endif 27 #endif
28 28
29 #if TESTMODE 29 #if TESTMODE
30 #include "l1tm_defty.h" 30 #include "l1tm_defty.h"
358 } 358 }
359 #endif 359 #endif
360 360
361 // Forbid deep sleep if the SIM and UARTs not ready 361 // Forbid deep sleep if the SIM and UARTs not ready
362 // FC note: this call to SIM_SleepStatus() *is* present in the Leonardo object 362 // FC note: this call to SIM_SleepStatus() *is* present in the Leonardo object
363 #if CONFIG_GSM //(REQUIRED_FOR_ESAMPLE_LOCOSTO) 363 #if CONFIG_INCLUDE_SIM //(REQUIRED_FOR_ESAMPLE_LOCOSTO)
364 // Forbid deep sleep if the SIM and UARTs not ready 364 // Forbid deep sleep if the SIM and UARTs not ready
365 if(SIM_SleepStatus()) 365 if(SIM_SleepStatus())
366 #endif 366 #endif
367 { 367 {
368 #endif 368 #endif
374 else l1s.pw_mgr.why_big_sleep = BIG_SLEEP_DUE_TO_UART; 374 else l1s.pw_mgr.why_big_sleep = BIG_SLEEP_DUE_TO_UART;
375 #if (L2_L3_SIMUL == 0) 375 #if (L2_L3_SIMUL == 0)
376 #if (OP_L1_STANDALONE == 0) 376 #if (OP_L1_STANDALONE == 0)
377 } 377 }
378 // Forbid deep sleep if the SIM and UARTs not ready 378 // Forbid deep sleep if the SIM and UARTs not ready
379 #if CONFIG_GSM //(REQUIRED_FOR_ESAMPLE_LOCOSTO) 379 #if CONFIG_INCLUDE_SIM //(REQUIRED_FOR_ESAMPLE_LOCOSTO)
380 else l1s.pw_mgr.why_big_sleep = BIG_SLEEP_DUE_TO_SIM; 380 else l1s.pw_mgr.why_big_sleep = BIG_SLEEP_DUE_TO_SIM;
381 #endif 381 #endif
382 #endif 382 #endif
383 #endif 383 #endif
384 // cut ARMIO and UWIRE clocks in big sleep 384 // cut ARMIO and UWIRE clocks in big sleep