Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
ba48c2c0
Commit
ba48c2c0
authored
Jan 25, 2016
by
Lorenz Meier
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2705 from DonLakeFlyer/SDCardDelay
SD card delay detection changes
parents
5819709f
f8b4128f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
22 deletions
+4
-22
FirmwareUpgrade.qml
src/VehicleSetup/FirmwareUpgrade.qml
+0
-18
LinkManager.cc
src/comm/LinkManager.cc
+1
-1
LinkManager.h
src/comm/LinkManager.h
+3
-3
No files found.
src/VehicleSetup/FirmwareUpgrade.qml
View file @
ba48c2c0
...
...
@@ -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
...
...
src/comm/LinkManager.cc
View file @
ba48c2c0
...
...
@@ -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 car
d and try again."
);
qgcApp
()
->
showMessage
(
"You
r Vehicle is not responding. If this continues please check that you have an SD Card inserte
d and try again."
);
}
}
src/comm/LinkManager.h
View file @
ba48c2c0
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment