Browse Source

Remove flash restart

This was causing problems with auto-connect after a flash
QGC4.4
Don Gagne 9 years ago
parent
commit
f18d9bc84e
  1. 18
      src/VehicleSetup/FirmwareUpgrade.qml

18
src/VehicleSetup/FirmwareUpgrade.qml

@ -117,8 +117,6 @@ QGCView { @@ -117,8 +117,6 @@ QGCView {
statusTextArea.append(flashFailText)
flashCompleteWaitTimer.running = true
}
onFlashComplete: flashCompleteWaitTimer.running = true
}
onCompleted: {
@ -128,22 +126,6 @@ QGCView { @@ -128,22 +126,6 @@ QGCView {
}
}
// After a flash completes we start this timer to trigger resetting the ui back to it's initial state of being ready to
// flash another board. We do this only after the timer triggers to leave the results of the previous flash on the screen
// for a small amount amount of time.
Timer {
id: flashCompleteWaitTimer
interval: 15000
onTriggered: {
initialBoardSearch = true
progressBar.value = 0
statusTextArea.append(welcomeText)
controller.startBoardSearch()
}
}
Component {
id: pixhawkFirmwareSelectDialog

Loading…
Cancel
Save