Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
671da5a2
Commit
671da5a2
authored
Apr 28, 2015
by
Don Gagne
Browse files
MockLink always added in debug builds
parent
0306941d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/comm/LinkManager.cc
View file @
671da5a2
...
...
@@ -409,6 +409,15 @@ void LinkManager::loadLinkConfigurationList()
}
emit
linkConfigurationChanged
();
}
// Debug buids always add MockLink automatically
#ifdef QT_DEBUG
MockConfiguration
*
pMock
=
new
MockConfiguration
(
"Mock Link"
);
pMock
->
setDynamic
(
true
);
addLinkConfiguration
(
pMock
);
emit
linkConfigurationChanged
();
#endif
// Enable automatic PX4 hunting
_configurationsLoaded
=
true
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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