1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

Correct mistake just made in "ConnectionManager::connectDevice()"

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2973 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
pip 2011-03-05 10:19:37 +00:00 committed by pip
parent 7fe74cda15
commit 1db840ed8a

View File

@ -124,11 +124,11 @@ bool ConnectionManager::connectDevice()
// close the device
try
{
m_connectionDevice.connection->closeDevice(m_connectionDevice.devName);
connection_device->closeDevice(connection_device.devName);
}
catch (...)
{ // handle exception
qDebug() << "Exception: m_connectionDevice.connection->closeDevice(" << m_connectionDevice.devName << ")";
qDebug() << "Exception: connection_device->closeDevice(" << connection_device.devName << ")";
}
return false;