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

Fixing the code to handle pulling the right XIO base number due to the change in the CHIP OS 1.1 with the 4.4 kernel, thanks to howientc and fordsfords for their help

This commit is contained in:
Robert Wolterman
2016-06-18 14:34:41 -05:00
parent 133453c57e
commit 818be5202e
3 changed files with 133 additions and 48 deletions

View File

@ -50,6 +50,7 @@ int gpio_direction[120];
char ctrl_dir[35];
char ocp_dir[25];
int get_xio_base();
int get_gpio_number(const char *key, unsigned int *gpio);
int get_pwm_key(const char *input, char *key);
int get_key(const char *input, char *key);