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:
parent
e1f61b0dee
commit
fbcce4a005
@ -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 ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user