96BoardsGPIO icon indicating copy to clipboard operation
96BoardsGPIO copied to clipboard

make fails due to ‘LS_SHARED’ undeclared. [again]

Open PPetka opened this issue 7 years ago • 2 comments

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);

PPetka avatar Oct 21 '17 20:10 PPetka

change LS_SHARED to LS_GPIO_SHARED.

roykang75 avatar Mar 13 '18 09:03 roykang75

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.

PPetka avatar Mar 13 '18 13:03 PPetka