mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-21 11:54:15 +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)
|
void SerialConnection::closeDevice(const QString &deviceName)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(deviceName);
|
||||||
//we have to delete the serial connection we created
|
//we have to delete the serial connection we created
|
||||||
if (serialHandle){
|
if (serialHandle){
|
||||||
serialHandle->close ();
|
serialHandle->close ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user