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

Serial port enumerator tiny bug #4

Open
behines opened this issue Apr 25, 2015 · 0 comments
Open

Serial port enumerator tiny bug #4

behines opened this issue Apr 25, 2015 · 0 comments

Comments

@behines
Copy link

behines commented Apr 25, 2015

I think I found a small bug in ofApp.cpp where it fills in the serial port list on refresh.

In the code that runs at startup, there's a line
ddl->addToggle(serialDevices[i].getDeviceName().c_str());

But in the code that runs for Refresh, the [i] is hardcoded as [0].
ddl->addToggle(serialDevices[0].getDeviceName().c_str());

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

1 participant