Commit f18d9bc8 authored by Don Gagne's avatar Don Gagne

Remove flash restart

This was causing problems with auto-connect after a flash
parent 5819709f
...@@ -117,8 +117,6 @@ QGCView { ...@@ -117,8 +117,6 @@ QGCView {
statusTextArea.append(flashFailText) statusTextArea.append(flashFailText)
flashCompleteWaitTimer.running = true flashCompleteWaitTimer.running = true
} }
onFlashComplete: flashCompleteWaitTimer.running = true
} }
onCompleted: { 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 { Component {
id: pixhawkFirmwareSelectDialog id: pixhawkFirmwareSelectDialog
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment