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
8896f5e5
Commit
8896f5e5
authored
May 02, 2016
by
Don Gagne
Browse files
Fix __mobile__ tags
parent
f6d02084
Changes
3
Hide whitespace changes
Inline
Side-by-side
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
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