mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
Added some more debug messages to help catch bugs, no that there are any.
This commit is contained in:
parent
9eaf09860c
commit
77058807b4
@ -134,6 +134,7 @@ void ConfigGadgetWidget::onAutopilotDisconnect() {
|
||||
|
||||
void ConfigGadgetWidget::onAutopilotConnect() {
|
||||
|
||||
qDebug()<<"ConfigGadgetWidget onAutopilotConnect";
|
||||
// First of all, check what Board type we are talking to, and
|
||||
// if necessary, remove/add tabs in the config gadget:
|
||||
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
|
||||
|
@ -358,7 +358,10 @@ void ConnectionManager::devChanged(IConnection *connection)
|
||||
if(m_mainWindow->generalSettings()->autoConnect() || m_mainWindow->generalSettings()->autoSelect())
|
||||
m_availableDevList->setCurrentIndex(m_availableDevList->count()-1);
|
||||
if(m_mainWindow->generalSettings()->autoConnect())
|
||||
{
|
||||
connectDevice();
|
||||
qDebug()<<"ConnectionManager::devChanged autoconnected USB device";
|
||||
}
|
||||
}
|
||||
}
|
||||
if(m_ioDev)//if a device is connected make it the one selected on the dropbox
|
||||
|
Loading…
Reference in New Issue
Block a user