diff chipsetsw/layer1/cfile/l1_pwmgr.c @ 132:c721b9d301b9

l1_pwmgr.c: l1s_compute_wakeup_ticks() reconstructed
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sat, 14 May 2016 16:31:53 +0000
parents 244b007df481
children e6611ca0d054
line wrap: on
line diff
--- a/chipsetsw/layer1/cfile/l1_pwmgr.c	Sat May 14 07:31:22 2016 +0000
+++ b/chipsetsw/layer1/cfile/l1_pwmgr.c	Sat May 14 16:31:53 2016 +0000
@@ -1513,8 +1513,6 @@
 {
  UWORD16 temp_clear_intr;
 #if (CODE_VERSION != SIMULATION)
-  if (l1_config.pwr_mngt == PWR_MNGT)
-  {
      // read current value of count down counter
      l1s.pw_mgr.sleep_duration  = READ_ULDP_TIMER_VALUE;
 
@@ -1558,9 +1556,9 @@
        l1s.pw_mgr.sleep_duration  = READ_ULDP_TIMER_INIT - l1s.pw_mgr.sleep_duration;
        return(TRUE);
      }
-  }
+#else
+ return(FALSE);//omaps00090550
 #endif
- return(FALSE);//omaps00090550
 }
 
 /*-------------------------------------------------------*/