96BoardsGPIO
96BoardsGPIO copied to clipboard
make fails due to ‘LS_SHARED’ undeclared. [again]
same problem as here https://github.com/96boards/96BoardsGPIO/issues/15
@jguilfoy solution works but its not pushed to repository current code is still
gpio *g = libsoc_gpio_request(gpio_id, LS_SHARED); if (!g) return rc; if (!strcmp(direction, "in")) rc = libsoc_gpio_set_direction(g, INPUT); else rc = libsoc_gpio_set_direction(g, OUTPUT);
change LS_SHARED to LS_GPIO_SHARED.
I have resolved this problem thanks to @jguilfoy comment. Problem is that even though some1 has already resolved this, This bug still exists on default branch.