Browse Source

Add support for device files created by tty0tty

Neal Wilson 8 years ago
parent
commit
c4650faa23
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/3rdparty/qextserialport/src/qextserialenumerator_linux.cpp

+ 1
- 1
src/3rdparty/qextserialport/src/qextserialenumerator_linux.cpp View File

@@ -135,7 +135,7 @@ QList<QextPortInfo> QextSerialEnumeratorPrivate::getPorts_sys()
135 135
     // (USB-serial, bluetooth-serial, 18F PICs, and so on)
136 136
     // if you know an other name prefix for serial ports please let us know
137 137
     portNamePrefixes.clear();
138
-    portNamePrefixes << QLatin1String("ttyACM*") << QLatin1String("ttyUSB*") << QLatin1String("rfcomm*");
138
+    portNamePrefixes << QLatin1String("ttyACM*") << QLatin1String("ttyUSB*") << QLatin1String("rfcomm*") << QLatin1String("tnt*");
139 139
     portNameList += dir.entryList(portNamePrefixes, (QDir::System | QDir::Files), QDir::Name);
140 140
 
141 141
     foreach (QString str , portNameList) {

Loading…
Cancel
Save