From 3f98676a3b571ae6d70780c68a3c56355db5c24e Mon Sep 17 00:00:00 2001 From: Alessio Morale Date: Wed, 13 Mar 2013 03:24:25 +0100 Subject: [PATCH] OP-871 Fix: it is not possible to halt a Revo board in firmware update page +review OPReview --- .../openpilotgcs/src/plugins/uploader/uploadergadgetwidget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ground/openpilotgcs/src/plugins/uploader/uploadergadgetwidget.cpp b/ground/openpilotgcs/src/plugins/uploader/uploadergadgetwidget.cpp index 1b6ae9f6b..78f454cb5 100755 --- a/ground/openpilotgcs/src/plugins/uploader/uploadergadgetwidget.cpp +++ b/ground/openpilotgcs/src/plugins/uploader/uploadergadgetwidget.cpp @@ -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) {