mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
add support for ttyACM devices
git-svn-id: http://svn.osgeo.org/qgis/trunk@14772 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
8a5b7d29a3
commit
d4970e7a4c
@ -35,7 +35,7 @@ QList< QPair<QString, QString> > QgsGPSDetector::availablePorts()
|
||||
|
||||
#ifdef linux
|
||||
// look for linux serial devices
|
||||
foreach( QString linuxDev, QStringList() << "/dev/ttyS%1" << "/dev/ttyUSB%1" << "/dev/rfcomm%1" )
|
||||
foreach( QString linuxDev, QStringList() << "/dev/ttyS%1" << "/dev/ttyUSB%1" << "/dev/rfcomm%1" << "/dev/ttyACM%1" )
|
||||
{
|
||||
for ( int i = 0; i < 10; ++i )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user