Commit 8896f5e5 authored by Don Gagne's avatar Don Gagne

Fix __mobile__ tags

parent f6d02084
......@@ -90,7 +90,7 @@ Joystick::Joystick(const QString& name, int axisCount, int buttonCount, int sdlI
}
_loadSettings();
#endif // __mobile __
#endif // __mobile__
}
Joystick::~Joystick()
......
......@@ -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);
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment