timer & tickless bugfix
1. fix a bug of timer_update when TOS_CFG_TIMER_AS_PROC > 0u 2. support disable tickless in runtime 3. fix a header file dependency bug, which cause k_tick_t typedef-ed to uint32_t 4. fix tick_count drift in tickless_proc
This commit is contained in:
@@ -78,8 +78,7 @@ pm_device_ctl_t k_pm_device_ctl = { 0u };
|
||||
/* default idle power manager mode is SLEEP */
|
||||
idle_pwrmgr_mode_t k_idle_pwr_mgr_mode = IDLE_POWER_MANAGER_MODE_SLEEP;
|
||||
|
||||
/* default low power mode is SLEEP */
|
||||
k_cpu_lpwr_mode_t k_cpu_lpwr_mode = TOS_LOW_POWER_MODE_SLEEP;
|
||||
k_cpu_lpwr_mode_t k_cpu_lpwr_mode = TOS_LOW_POWER_MODE_NONE;
|
||||
#endif
|
||||
|
||||
#if TOS_CFG_TICKLESS_EN > 0u
|
||||
|
Reference in New Issue
Block a user