mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-27 16:54:15 +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() {
|
void ConfigGadgetWidget::onAutopilotConnect() {
|
||||||
|
|
||||||
|
qDebug()<<"ConfigGadgetWidget onAutopilotConnect";
|
||||||
// First of all, check what Board type we are talking to, and
|
// First of all, check what Board type we are talking to, and
|
||||||
// if necessary, remove/add tabs in the config gadget:
|
// if necessary, remove/add tabs in the config gadget:
|
||||||
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
|
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
|
||||||
|
@ -358,7 +358,10 @@ void ConnectionManager::devChanged(IConnection *connection)
|
|||||||
if(m_mainWindow->generalSettings()->autoConnect() || m_mainWindow->generalSettings()->autoSelect())
|
if(m_mainWindow->generalSettings()->autoConnect() || m_mainWindow->generalSettings()->autoSelect())
|
||||||
m_availableDevList->setCurrentIndex(m_availableDevList->count()-1);
|
m_availableDevList->setCurrentIndex(m_availableDevList->count()-1);
|
||||||
if(m_mainWindow->generalSettings()->autoConnect())
|
if(m_mainWindow->generalSettings()->autoConnect())
|
||||||
|
{
|
||||||
connectDevice();
|
connectDevice();
|
||||||
|
qDebug()<<"ConnectionManager::devChanged autoconnected USB device";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(m_ioDev)//if a device is connected make it the one selected on the dropbox
|
if(m_ioDev)//if a device is connected make it the one selected on the dropbox
|
||||||
|
Loading…
x
Reference in New Issue
Block a user