dfm09: no + sign in json output

pull/47/head
Zilog80 2022-07-18 11:57:57 +02:00
rodzic 597f2fe89c
commit 4a6102f473
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1101,7 +1101,7 @@ static void print_gpx(gpx_t *gpx) {
printf(", \"ref_datetime\": \"%s\"", "UTC" ); // {"GPS", "UTC"} GPS-UTC=leap_sec
if (gpx->posmode <= 2) { // mode 2
printf(", \"ref_position\": \"%s\"", "GPS" ); // {"GPS", "MSL"} GPS=ellipsoid , MSL=geoid
printf(", \"diff_GPS_MSL\": %+.2f", -gpx->gps.dMSL ); // MSL = GPS + gps.dMSL
printf(", \"diff_GPS_MSL\": %.2f", -gpx->gps.dMSL ); // MSL = GPS + gps.dMSL
}
else printf(", \"ref_position\": \"%s\"", "MSL" ); // mode 3,4