From a24965a50ede638064ee05dcca4a5a347a9902c3 Mon Sep 17 00:00:00 2001 From: 771-8bit Date: Wed, 7 Feb 2024 17:49:57 +0900 Subject: [PATCH] fix gps --- Main/Main.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Main/Main.ino b/Main/Main.ino index 302811c..eeb63d9 100644 --- a/Main/Main.ino +++ b/Main/Main.ino @@ -162,7 +162,7 @@ void loop() { // Serial.print("GNSS, "); // Serial.print(data_gnss_latitude_udeg); // Serial.print(", "); - // Serial.print(data_gnss_latitude_udeg); + // Serial.print(data_gnss_longitude_udeg); // Serial.print(", "); // Serial.print("voltage, "); @@ -236,7 +236,7 @@ void loop() { downlink += String(data_bme_temperature_degC, 1) + ','; downlink += String(data_bme_altitude_m, 1) + ','; downlink += String(data_gnss_latitude_udeg % 1000000) + ','; - downlink += String(data_gnss_latitude_udeg % 1000000) + ','; + downlink += String(data_gnss_longitude_udeg % 1000000) + ','; downlink += String(data_bat_v, 2) + ','; downlink += String(data_ext_v, 1) + ',';