mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 11:26:35 +00:00
Minor fixes to A8 to keep GCC happy
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
#include "remoteControl.hpp"
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include <QCoreApplication>
|
||||
#include <QDebug>
|
||||
#include <QJsonDocument>
|
||||
#include <QJsonObject>
|
||||
#include <QObject>
|
||||
#include <QTimer>
|
||||
#include <QUdpSocket>
|
||||
#include "config.hpp"
|
||||
#include "defines.hpp"
|
||||
#include "utilsTargetLocation.hpp"
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include "remoteControl.hpp"
|
||||
|
||||
RemoteControl::RemoteControl(QObject *parent)
|
||||
: QObject{parent}
|
||||
@@ -47,7 +48,7 @@ void RemoteControl::readPendingDatagrams()
|
||||
void RemoteControl::processJSON(QJsonDocument commandDoc)
|
||||
{
|
||||
mIsBusy = true;
|
||||
qDebug().noquote().nospace() << "Received: " << commandDoc.toJson().toStdString();
|
||||
qDebug().noquote().nospace() << "Received: " << QString(commandDoc.toJson());
|
||||
|
||||
QJsonObject commandObject = commandDoc.object();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user