Skip to content

Serial port enumerator tiny bug #4

@behines

Description

@behines

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());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions