mirror of https://github.com/joan2937/pigpio
Fix issue#400 PI_CMD_EVT is unused in pigpiod_if2.c
This commit is contained in:
parent
2220e497bd
commit
8f4eff9694
|
@ -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);}
|
||||
|
||||
|
|
Loading…
Reference in New Issue