Browse Source

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>
pull/91733/merge
Tim Pambor 3 weeks ago committed by Benjamin Cabé
parent
commit
58527c1020
  1. 6
      subsys/input/input.c

6
subsys/input/input.c

@ -73,8 +73,12 @@ int input_report(const struct device *dev, @@ -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;

Loading…
Cancel
Save