diff --git a/misc/camera/a8/remoteControl.cpp b/misc/camera/a8/remoteControl.cpp index 3b2df8a..f140b47 100644 --- a/misc/camera/a8/remoteControl.cpp +++ b/misc/camera/a8/remoteControl.cpp @@ -88,7 +88,7 @@ void RemoteControl::sendResponse(void) if (bytesWritten < 1) { qWarning().noquote().nospace() << "Error writing response: " << bytesWritten; } - qDebug().noquote().nospace() << "Responded: " << response; + qDebug().noquote().nospace() << "Responded: " << response.c_str(); mIsBusy = false; } diff --git a/misc/camera/a8/utilsTargetLocation.cpp b/misc/camera/a8/utilsTargetLocation.cpp index f1c41c0..579435c 100644 --- a/misc/camera/a8/utilsTargetLocation.cpp +++ b/misc/camera/a8/utilsTargetLocation.cpp @@ -3,7 +3,6 @@ #include #include "config.hpp" #include "defines.hpp" -#include GPSData UtilsTargetLocation::getLocation(float altitude, float latitude, float lognitude, float yaw, float pitch, float roll, float targetTrueSize, uint16_t targetPixelSize) { diff --git a/misc/camera/a8_remote/remoteControl.cpp b/misc/camera/a8_remote/remoteControl.cpp index 130b9a7..9a918a2 100644 --- a/misc/camera/a8_remote/remoteControl.cpp +++ b/misc/camera/a8_remote/remoteControl.cpp @@ -90,9 +90,9 @@ void RemoteControl::sendData(uint16_t top, uint16_t left, uint16_t bottom, uint1 std::string command = commandDocument.toJson(QJsonDocument::Compact).toStdString(); size_t bytesWritten = write(mFifoFdOut, command.c_str(), command.size()); if (bytesWritten < 1) { - qWarning().noquote().nospace() << "Error writing data: " << bytesWritten; + qWarning().noquote().nospace() << "Error writing data: " << QString::number(bytesWritten); } - qDebug().noquote().nospace() << "Sent: " << command; + qDebug().noquote().nospace() << "Sent: " << command.c_str(); } #ifdef FIFO_TEST