kernel: make z_is_idle_thread_entry take code ptr
This is causing errors on IAR toolchain. Signed-off-by: Robin Kastberg <robin.kastberg@iar.com>
This commit is contained in:
parent
27d918e699
commit
6532c2f0bb
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ static ALWAYS_INLINE bool should_preempt(struct k_thread *thread,
|
|||
}
|
||||
|
||||
|
||||
static inline bool z_is_idle_thread_entry(void *entry_point)
|
||||
static inline bool z_is_idle_thread_entry(k_thread_entry_t entry_point)
|
||||
{
|
||||
return entry_point == idle;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue