1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

gcs: properly label ttyACM devices in gcs pull-down selector

This commit is contained in:
Stacey Sheldon 2011-09-07 18:50:21 -04:00
parent b8af44bf61
commit 458d3467ab

View File

@ -60,6 +60,9 @@ QList<QextPortInfo> QextSerialEnumerator::getPorts()
else if (str.contains("rfcomm")) {
inf.friendName = "Bluetooth-serial adapter "+str.remove(0, 6);
}
else if (str.contains("ttyACM")) {
inf.friendName = "USB VCP adapter "+str.remove(0, 6);
}
inf.enumName = "/dev"; // is there a more helpful name for this?
infoList.append(inf);
}