pm: fix warning for missing initializer
A warning is giving for missing initalizer for field `exit_latency_us` of `struct pm_state_info`. This adds the additional init fields. Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
This commit is contained in:
parent
1a4b7ab66c
commit
9f8120528d
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ void pm_system_resume(void)
|
||||||
#ifdef CONFIG_SYS_CLOCK_EXISTS
|
#ifdef CONFIG_SYS_CLOCK_EXISTS
|
||||||
sys_clock_idle_exit();
|
sys_clock_idle_exit();
|
||||||
#endif /* CONFIG_SYS_CLOCK_EXISTS */
|
#endif /* CONFIG_SYS_CLOCK_EXISTS */
|
||||||
z_cpus_pm_state[id] = (struct pm_state_info){PM_STATE_ACTIVE,
|
z_cpus_pm_state[id] = (struct pm_state_info){PM_STATE_ACTIVE, 0, false,
|
||||||
0, 0};
|
0, 0};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue