Skip to content

Commit 6532c2f

Browse files
RobinKastbergnashif
authored andcommitted
kernel: make z_is_idle_thread_entry take code ptr
This is causing errors on IAR toolchain. Signed-off-by: Robin Kastberg <[email protected]>
1 parent 27d918e commit 6532c2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/include/kthread.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ static ALWAYS_INLINE bool should_preempt(struct k_thread *thread,
225225
}
226226

227227

228-
static inline bool z_is_idle_thread_entry(void *entry_point)
228+
static inline bool z_is_idle_thread_entry(k_thread_entry_t entry_point)
229229
{
230230
return entry_point == idle;
231231
}

0 commit comments

Comments
 (0)