Fix issue#400 PI_CMD_EVT is unused in pigpiod_if2.c

This commit is contained in:
Guy McSwain 2020-12-18 20:32:16 -06:00
parent 2220e497bd
commit 8f4eff9694
1 changed files with 1 additions and 1 deletions

View File

@ -2122,5 +2122,5 @@ int wait_for_event(int pi, unsigned event, double timeout)
} }
int event_trigger(int pi, unsigned event) 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);}