1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

OP-77 GCS serial plugin small issue

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@720 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
zedamota 2010-06-05 20:19:53 +00:00 committed by zedamota
parent b9f81d4e7e
commit fee771fa7f

View File

@ -94,7 +94,11 @@ QIODevice *SerialConnection::openDevice(const QString &deviceName)
set.StopBits = STOP_1;
set.FlowControl = FLOW_OFF;
set.Timeout_Millisec = 500;
#ifdef Q_OS_WIN
return new QextSerialPort(port.portName, set);
#else
return new QextSerialPort(port.physName, set);
#endif
}
}
return NULL;