Skip to content

Commit 58527c1

Browse files
tpamborkartben
authored andcommitted
input: Fix function signature of input_thread
Update the input_thread function signature to match the expected k_thread_entry_t type: typedef void (*k_thread_entry_t)(void *p1, void *p2, void *p3); Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
1 parent 4bd7e0b commit 58527c1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

subsys/input/input.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,12 @@ int input_report(const struct device *dev,
7373

7474
#ifdef CONFIG_INPUT_MODE_THREAD
7575

76-
static void input_thread(void)
76+
static void input_thread(void *p1, void *p2, void *p3)
7777
{
78+
ARG_UNUSED(p1);
79+
ARG_UNUSED(p2);
80+
ARG_UNUSED(p3);
81+
7882
struct input_event evt;
7983
int ret;
8084

0 commit comments

Comments
 (0)