changeset 131:244b007df481

l1_pwmgr.c: .bss and .cinit data sections reconstructed
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sat, 14 May 2016 07:31:22 +0000
parents c4b922f2b593
children c721b9d301b9
files chipsetsw/layer1/cfile/l1_pwmgr.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/cfile/l1_pwmgr.c	Sat May 14 07:13:07 2016 +0000
+++ b/chipsetsw/layer1/cfile/l1_pwmgr.c	Sat May 14 07:31:22 2016 +0000
@@ -748,7 +748,7 @@
  }
 #endif
 
-UWORD32 last_wakeup;
+UWORD32 last_wakeup = 0;
 UWORD8  wakeup_type;        // Type of the interrupt
 UWORD8  why_big_sleep;      // Type of the big sleep
 
@@ -780,7 +780,7 @@
 // Power management is enabled
     WORD32   min_time, HWtimer,wake_up_time,min_time_gauging;
     WORD32   afc_fix;
-    static UWORD32 previous_sleep = FRAME_STOP;
+    static UWORD32 previous_sleep = CLOCK_STOP;
     #if (W_A_CALYPSO_PLUS_SPR_19599 == 1)
       BOOL     extended_page_mode_state = 0;       //Store state of extended page mode
     #endif