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

pifacedigital_wait_for_input incorrect arguments #6

Open
YarGnawh opened this issue Oct 27, 2014 · 3 comments
Open

pifacedigital_wait_for_input incorrect arguments #6

YarGnawh opened this issue Oct 27, 2014 · 3 comments

Comments

@YarGnawh
Copy link

Currently in example and example-interrupt:

pifacedigital_wait_for_input(-1, hw_addr);

which doesn't match

int     pifacedigital_wait_for_input (uint8_t *data, int timeout, uint8_t hw_addr)

also, pifacedigital_wait_for_input is return -1 for some unknown reason

@xaqq
Copy link

xaqq commented Oct 27, 2014

Hello,
yeah the prototype was changed not long ago. see #5

tompreston pushed a commit that referenced this issue Oct 30, 2014
@tompreston
Copy link
Member

I've pushed a fix to the dev-tp branch which should work. Can someone test - I'm not near a Pi at the moment. Might be at one later or tomorrow.

@h0ru5
Copy link
Contributor

h0ru5 commented Jun 4, 2015

just ran into the same thing and wanted to send a PR. checked your code as well and its working.

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

4 participants