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

Merge remote-tracking branch 'origin/amorale/OP-871_gcs_revo_reset_fix' into next

This commit is contained in:
Alessio Morale 2013-04-06 19:59:03 +02:00
commit b5426aa761

View File

@ -313,6 +313,9 @@ void UploaderGadgetWidget::goToBootloader(UAVObject* callerObj, bool success)
return;
}
//dfu.StatusRequest();
QTimer::singleShot(500, &m_eventloop, SLOT(quit()));
m_eventloop.exec();
dfu->findDevices();
log(QString("Found ") + QString::number(dfu->numberOfDevices) + QString(" device(s)."));
if (dfu->numberOfDevices < 0 || dfu->numberOfDevices > 3) {