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:
parent
b8af44bf61
commit
458d3467ab
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user