From 458d3467ab3c50550212319c927580e990660c8f Mon Sep 17 00:00:00 2001 From: Stacey Sheldon Date: Wed, 7 Sep 2011 18:50:21 -0400 Subject: [PATCH] gcs: properly label ttyACM devices in gcs pull-down selector --- .../src/libs/qextserialport/src/qextserialenumerator_unix.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ground/openpilotgcs/src/libs/qextserialport/src/qextserialenumerator_unix.cpp b/ground/openpilotgcs/src/libs/qextserialport/src/qextserialenumerator_unix.cpp index f43a75b68..fd5af0d25 100644 --- a/ground/openpilotgcs/src/libs/qextserialport/src/qextserialenumerator_unix.cpp +++ b/ground/openpilotgcs/src/libs/qextserialport/src/qextserialenumerator_unix.cpp @@ -60,6 +60,9 @@ QList 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); }