Skip to content

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