Commit ba48c2c0 authored by Lorenz Meier's avatar Lorenz Meier

Merge pull request #2705 from DonLakeFlyer/SDCardDelay

SD card delay detection changes
parents 5819709f f8b4128f
......@@ -117,8 +117,6 @@ QGCView {
statusTextArea.append(flashFailText)
flashCompleteWaitTimer.running = true
}
onFlashComplete: flashCompleteWaitTimer.running = true
}
onCompleted: {
......@@ -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
......
......@@ -864,6 +864,6 @@ void LinkManager::_activeLinkCheck(void)
}
if (!found) {
qgcApp()->showMessage("You have connected to a Vehicle which does not have an SD Card inserted. Please insert an SD card and try again.");
qgcApp()->showMessage("Your Vehicle is not responding. If this continues please check that you have an SD Card inserted and try again.");
}
}
......@@ -244,9 +244,9 @@ private:
bool _autoconnect3DRRadio;
bool _autoconnectPX4Flow;
QTimer _activeLinkCheckTimer; // Timer which checks for a vehicle showing up on a usb direct link
QList<LinkInterface*> _activeLinkCheckList; // List of links we are waiting for a vehicle to show up on
static const int _activeLinkCheckTimeoutMSecs = 7000;
QTimer _activeLinkCheckTimer; ///< Timer which checks for a vehicle showing up on a usb direct link
QList<LinkInterface*> _activeLinkCheckList; ///< List of links we are waiting for a vehicle to show up on
static const int _activeLinkCheckTimeoutMSecs = 10000; ///< Amount of time to wait for a heatbeat. Keep in mind ArduPilot stack heartbeat is slow to come.
static const char* _settingsGroup;
static const char* _autoconnectUDPKey;
......
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