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
85a1e606
Commit
85a1e606
authored
Apr 21, 2014
by
Lorenz Meier
Browse files
proper spinning loop
parent
f741140a
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/comm/QGCXPlaneLink.cc
View file @
85a1e606
...
...
@@ -144,7 +144,9 @@ void QGCXPlaneLink::setVersion(unsigned int version)
**/
void
QGCXPlaneLink
::
run
()
{
exec
();
forever
{
QGC
::
SLEEP
::
usleep
(
500000
);
}
}
void
QGCXPlaneLink
::
setPort
(
int
localPort
)
...
...
src/comm/UDPLink.cc
View file @
85a1e606
...
...
@@ -69,7 +69,9 @@ UDPLink::~UDPLink()
**/
void
UDPLink
::
run
()
{
exec
();
forever
{
QGC
::
SLEEP
::
usleep
(
500000
);
}
}
void
UDPLink
::
setAddress
(
QHostAddress
host
)
...
...
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