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

Minor fixes to examples. #2

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Minor fixes to examples. #2

wants to merge 7 commits into from

Conversation

troth
Copy link

@troth troth commented Nov 16, 2014

While testing libmpsse with a UM232H dev board, I found a couple minor bugs and fixed them.

Commit c13df34 broke the gpio example. The gpio example was passing
0 for the freq which is no longer allowed in SetClock for  mpsse modes.
The check for data being read would always succeed due to the test
looking at the pointer of the data instead of the data pointed being
pointed to.

Now checks the first element of the data array.
Add CFLAGS with '-g -Wall'.

Compile and link using headers and library in build dir to allow
building the examples without having to install the library.
Loops over 8 pins toggling each pin on then off in turn.
Loops over GPIOL0 -> GPIOL3, toggling each on then off in turn.
tarhan pushed a commit to tarhan/libmpsse that referenced this pull request Jun 19, 2019
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

Successfully merging this pull request may close these issues.

1 participant