pm: tracing: Correct compilation for tracing
Correct an issue that prevents CONFIG_TRACING and CONFIG_PM_DEVICE to be enabled at the same time. Signed-off-by: Abe Kohandel <abe.kohandel@gmail.com>
This commit is contained in:
parent
8171417f77
commit
6c914ded79
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ bool pm_system_suspend(int32_t ticks)
|
|||
z_power_states[id].state = PM_STATE_ACTIVE;
|
||||
(void)atomic_add(&z_cpus_active, 1);
|
||||
SYS_PORT_TRACING_FUNC_EXIT(pm, system_suspend, ticks,
|
||||
_handle_device_abort(z_power_states[id]));
|
||||
z_power_states[id].state);
|
||||
ret = false;
|
||||
goto end;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue