Remove + in DFM json output

pull/642/head
Mark Jessop 2022-07-12 19:08:48 +09:30
rodzic c44382379a
commit c59bc521da
3 zmienionych plików z 7 dodań i 2 usunięć

Wyświetl plik

@ -17,7 +17,7 @@ except ImportError:
# MINOR - New sonde type support, other fairly big changes that may result in telemetry or config file incompatability issus.
# PATCH - Small changes, or minor feature additions.
__version__ = "1.6.0-beta1"
__version__ = "1.6.0-beta2"
# Global Variables

Wyświetl plik

@ -390,6 +390,11 @@ to = someone@example.com
# <id> - Sonde Serial Number (i.e. M1234567)
subject = <type> Sonde launch detected on <freq>: <id>
# Custom nearby landing subject field. The following fields can be included:
# <freq> - Sonde Frequency, i.e. 401.520 MHz
# <type> - Sonde Type (RS94/RS41)
# <id> - Sonde Serial Number (i.e. M1234567)
nearby_landing_subject = Nearby Radiosonde Landing Detected - <id>
###################
# ROTATOR CONTROL #

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