From 86089a349ee94aa9818b7f33aa49c4c4fea4dc57 Mon Sep 17 00:00:00 2001 From: Uskompuf <22492406+Uskompuf@users.noreply.github.com> Date: Mon, 13 Sep 2021 18:35:09 +1000 Subject: [PATCH] fix bug --- RX_FSK/RX_FSK.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RX_FSK/RX_FSK.ino b/RX_FSK/RX_FSK.ino index c7131c5..1df3991 100644 --- a/RX_FSK/RX_FSK.ino +++ b/RX_FSK/RX_FSK.ino @@ -3156,7 +3156,7 @@ void sondehub_station_update(WiFiClient *client, struct st_sondehub *conf) { else if (chase == SH_LOC_FIXED) { if ((!isnan(conf->lat)) && (!isnan(conf->lon))) { sprintf(w, - "\"uploader_position\": [%.6f,%.6f,%s],", + "\"uploader_position\": [%.6f,%.6f,%s]", conf->lat, conf->lon, conf->alt[0] ? conf->alt : "null"); w += strlen(w); } @@ -3367,7 +3367,7 @@ void sondehub_send_data(WiFiClient * client, SondeInfo * s, struct st_sondehub * else if (chase == SH_LOC_FIXED) { if ((!isnan(conf->lat)) && (!isnan(conf->lon))) { sprintf(w, - "\"uploader_position\": [%.6f,%.6f,%s],", + "\"uploader_position\": [%.6f,%.6f,%s]", conf->lat, conf->lon, conf->alt[0] ? conf->alt : "null"); w += strlen(w); }