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:
parent
86c525b2d3
commit
3f98676a3b
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user