From 8f4eff969406da79f2559b2af89d8e7168cb35d7 Mon Sep 17 00:00:00 2001 From: Guy McSwain Date: Fri, 18 Dec 2020 20:32:16 -0600 Subject: [PATCH] Fix issue#400 PI_CMD_EVT is unused in pigpiod_if2.c --- pigpiod_if2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pigpiod_if2.c b/pigpiod_if2.c index 64b0d15..f8dc9c7 100644 --- a/pigpiod_if2.c +++ b/pigpiod_if2.c @@ -2122,5 +2122,5 @@ int wait_for_event(int pi, unsigned event, double timeout) } int event_trigger(int pi, unsigned event) - {return pigpio_command(pi, PI_CMD_EVM, event, 0, 1);} + {return pigpio_command(pi, PI_CMD_EVT, event, 0, 1);}