1
0
mirror of https://github.com/xtacocorex/CHIP_IO synced 2025-07-20 04:43:21 +00:00

implementation and close #75 - enabling a timeout for the wait_for_edge function

This commit is contained in:
Robert Wolterman
2017-09-03 21:43:59 -05:00
parent a0b2ac12a6
commit e3a077bf82
8 changed files with 26 additions and 11 deletions

View File

@ -86,4 +86,4 @@ int gpio_event_remove(int gpio);
int gpio_is_evented(int gpio);
int event_initialise(void);
void event_cleanup(void);
int blocking_wait_for_edge(int gpio, unsigned int edge);
int blocking_wait_for_edge(int gpio, unsigned int edge, int timeout);