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:
parent
b9f81d4e7e
commit
fee771fa7f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user