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
8896f5e5
Commit
8896f5e5
authored
May 02, 2016
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix __mobile__ tags
parent
f6d02084
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
Joystick.cc
src/Joystick/Joystick.cc
+1
-1
QGCToolbox.cc
src/QGCToolbox.cc
+4
-4
UDPLink.cc
src/comm/UDPLink.cc
+1
-1
No files found.
src/Joystick/Joystick.cc
View file @
8896f5e5
...
...
@@ -90,7 +90,7 @@ Joystick::Joystick(const QString& name, int axisCount, int buttonCount, int sdlI
}
_loadSettings
();
#endif // __mobile
__
#endif // __mobile__
}
Joystick
::~
Joystick
()
...
...
src/QGCToolbox.cc
View file @
8896f5e5
...
...
@@ -28,7 +28,7 @@
#include "GAudioOutput.h"
#ifndef __mobile__
#include "GPSManager.h"
#endif
/* __mobile */
#endif
#include "HomePositionManager.h"
#include "JoystickManager.h"
#include "LinkManager.h"
...
...
@@ -47,7 +47,7 @@ QGCToolbox::QGCToolbox(QGCApplication* app)
,
_factSystem
(
NULL
)
,
_firmwarePluginManager
(
NULL
)
,
_flightMapSettings
(
NULL
)
#ifndef __mobile
#ifndef __mobile
__
,
_gpsManager
(
NULL
)
#endif
,
_homePositionManager
(
NULL
)
...
...
@@ -69,7 +69,7 @@ QGCToolbox::QGCToolbox(QGCApplication* app)
_flightMapSettings
=
new
FlightMapSettings
(
app
);
#ifndef __mobile__
_gpsManager
=
new
GPSManager
(
app
);
#endif
/* __mobile */
#endif
_homePositionManager
=
new
HomePositionManager
(
app
);
_imageProvider
=
new
QGCImageProvider
(
app
);
_joystickManager
=
new
JoystickManager
(
app
);
...
...
@@ -89,7 +89,7 @@ QGCToolbox::QGCToolbox(QGCApplication* app)
_flightMapSettings
->
setToolbox
(
this
);
#ifndef __mobile__
_gpsManager
->
setToolbox
(
this
);
#endif
/* __mobile */
#endif
_homePositionManager
->
setToolbox
(
this
);
_imageProvider
->
setToolbox
(
this
);
_joystickManager
->
setToolbox
(
this
);
...
...
src/comm/UDPLink.cc
View file @
8896f5e5
...
...
@@ -264,7 +264,7 @@ bool UDPLink::_hardwareConnect()
_connectState
=
_socket
->
bind
(
host
,
_config
->
localPort
(),
QAbstractSocket
::
ReuseAddressHint
|
QUdpSocket
::
ShareAddress
);
if
(
_connectState
)
{
//-- Make sure we have a large enough IO buffers
#ifdef __mobile
#ifdef __mobile
__
_socket
->
setSocketOption
(
QAbstractSocket
::
SendBufferSizeSocketOption
,
64
*
1024
);
_socket
->
setSocketOption
(
QAbstractSocket
::
ReceiveBufferSizeSocketOption
,
128
*
1024
);
#else
...
...
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