use the _Wait function where possible

This commit is contained in:
Ronald 2020-11-01 00:50:01 +01:00
commit 53cb7f2c51
24 changed files with 231 additions and 79 deletions

View file

@ -39,6 +39,10 @@
#define LOW 0
#define HIGH 1
#define SYSFS_GPIO_RISING 0
#define SYSFS_GPIO_FALLING 1
#define SYSFS_GPIO_BOTH 2
#define NUM_MAXBUF 4
#define DIR_MAXSIZ 60
@ -80,5 +84,6 @@ int SYSFS_GPIO_Unexport(int Pin);
int SYSFS_GPIO_Direction(int Pin, int Dir);
int SYSFS_GPIO_Read(int Pin);
int SYSFS_GPIO_Write(int Pin, int value);
int SYSFS_GPIO_Wait(int Pin, int value);
#endif
#endif