From 58527c1020531b6ec87901ccac9f600e84e181b6 Mon Sep 17 00:00:00 2001 From: Tim Pambor Date: Tue, 17 Jun 2025 19:35:03 +0200 Subject: [PATCH] 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 --- subsys/input/input.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/subsys/input/input.c b/subsys/input/input.c index 55ff1afc5d3..ee71c8aa45c 100644 --- a/subsys/input/input.c +++ b/subsys/input/input.c @@ -73,8 +73,12 @@ int input_report(const struct device *dev, #ifdef CONFIG_INPUT_MODE_THREAD -static void input_thread(void) +static void input_thread(void *p1, void *p2, void *p3) { + ARG_UNUSED(p1); + ARG_UNUSED(p2); + ARG_UNUSED(p3); + struct input_event evt; int ret;