Commit 795d48d2 authored by Beat Küng's avatar Beat Küng

GPSManager: remove the usage of PRIu64, because of problems under windows

parent d94ac673
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include "GPSManager.h" #include "GPSManager.h"
#include <QDebug> #include <QDebug>
#include <cinttypes>
GPSManager::GPSManager(QGCApplication* app) GPSManager::GPSManager(QGCApplication* app)
: QGCTool(app) : QGCTool(app)
...@@ -62,9 +61,9 @@ void GPSManager::setupGPS(const QString& device) ...@@ -62,9 +61,9 @@ void GPSManager::setupGPS(const QString& device)
void GPSManager::GPSPositionUpdate(GPSPositionMessage msg) void GPSManager::GPSPositionUpdate(GPSPositionMessage msg)
{ {
qDebug("GPS: got position update: alt=%i, long=%i, lat=%i, time=%" PRIu64, qDebug("GPS: got position update: alt=%i, long=%i, lat=%i",
msg.position_data.alt, msg.position_data.lon, msg.position_data.alt, msg.position_data.lon,
msg.position_data.lat, msg.position_data.time_utc_usec); msg.position_data.lat);
} }
void GPSManager::GPSSatelliteUpdate(GPSSatelliteMessage msg) void GPSManager::GPSSatelliteUpdate(GPSSatelliteMessage msg)
{ {
......
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