1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-16 08:29:15 +01:00

OP-871 Fix: it is not possible to halt a Revo board in firmware update page

+review OPReview
This commit is contained in:
Alessio Morale 2013-03-13 03:24:25 +01:00
parent 86c525b2d3
commit 3f98676a3b

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) {