kernel/idle.c: fix compilation failure (SMP && !SCHED_IPI_SUPPORTED)
An #endif and the brace terminating a compound statement were transposed, causing compilation errors with the above-specified combination of configuration options. Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
parent
5639ea07f8
commit
c0c4ba8516
1 changed files with 1 additions and 2 deletions
|
@ -159,8 +159,7 @@ void idle(void *unused1, void *unused2, void *unused3)
|
|||
#else
|
||||
(void)z_arch_irq_lock();
|
||||
sys_power_save_idle();
|
||||
|
||||
IDLE_YIELD_IF_COOP();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue