瀏覽代碼

Add support for device files created by tty0tty

Neal Wilson 8 年之前
父節點
當前提交
c4650faa23
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/3rdparty/qextserialport/src/qextserialenumerator_linux.cpp

+ 1
- 1
src/3rdparty/qextserialport/src/qextserialenumerator_linux.cpp 查看文件

@@ -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…
取消
儲存