Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PPetka opened this issue Oct 21, 2017 · 2 comments
Open

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

PPetka opened this issue Oct 21, 2017 · 2 comments

Comments

@PPetka
Copy link

PPetka commented Oct 21, 2017

same problem as here
#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);

@roykang75
Copy link

change LS_SHARED to LS_GPIO_SHARED.

@PPetka
Copy link
Author

PPetka commented Mar 13, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants