mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
pm: fix when RTC_HIRES enabled pm procfs err
Signed-off-by: buxiasen <buxiasen@xiaomi.com>
This commit is contained in:
@@ -95,6 +95,10 @@ void pm_initialize(void)
|
||||
#endif
|
||||
pm_set_governor(i, gov);
|
||||
|
||||
#if defined(CONFIG_PM_PROCFS)
|
||||
clock_systime_timespec(&g_pmglobals.domain[i].start);
|
||||
#endif
|
||||
|
||||
nxrmutex_init(&g_pmglobals.domain[i].lock);
|
||||
|
||||
#if CONFIG_PM_GOVERNOR_EXPLICIT_RELAX
|
||||
|
||||
Reference in New Issue
Block a user