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

Remove compile-time warning for serial connection plugin.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2122 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
edouard 2010-11-14 15:03:18 +00:00 committed by edouard
parent e1f61b0dee
commit fbcce4a005

View File

@ -103,6 +103,7 @@ QIODevice *SerialConnection::openDevice(const QString &deviceName)
void SerialConnection::closeDevice(const QString &deviceName)
{
Q_UNUSED(deviceName);
//we have to delete the serial connection we created
if (serialHandle){
serialHandle->close ();