Skip to content

Commit d9fc3cc

Browse files
committed
Return actual device name in ofSerialDeviceInfo
1 parent 4861aba commit d9fc3cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/Processors/Serial/ofSerial.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ void ofSerial::buildDeviceList()
226226
for (int i = 0; i < nPorts; i++)
227227
{
228228
//NOTE: we give the short port name for both as that is what the user should pass and the short name is more friendly
229-
devices.push_back (ofSerialDeviceInfo (string (portNamesShort[i]), string (portNamesShort[i]), i));
229+
devices.push_back (ofSerialDeviceInfo (string (portNamesShort[i]), string (portNamesFriendly[i]), i));
230230
}
231231
//---------------------------------------------
232232
#endif

0 commit comments

Comments
 (0)