Includes: #ifdef CONFIG_USE_SWITCH instead of #if to avoid undef warning
Hitting wundef in kernel_structs.h, switching to match other instances where #ifdef is used instead of #if Signed-off-by: Nicholas Lowell <nlowell@lexmark.com>
This commit is contained in:
parent
50b78f08ea
commit
f9ae2d8e64
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ extern struct z_kernel _kernel;
|
|||
|
||||
#include <kernel_arch_func.h>
|
||||
|
||||
#if CONFIG_USE_SWITCH
|
||||
#ifdef CONFIG_USE_SWITCH
|
||||
/* This is a arch function traditionally, but when the switch-based
|
||||
* z_swap() is in use it's a simple inline provided by the kernel.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue