From 9fdfc02cafd64eb80cd69fafb70fda493f46a6ac Mon Sep 17 00:00:00 2001 From: "Hansi, dl9rdz" Date: Thu, 23 Sep 2021 12:49:56 +0200 Subject: [PATCH] station update also if disconected --- RX_FSK/RX_FSK.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RX_FSK/RX_FSK.ino b/RX_FSK/RX_FSK.ino index 73c2095..0c03e22 100644 --- a/RX_FSK/RX_FSK.ino +++ b/RX_FSK/RX_FSK.ino @@ -3578,7 +3578,7 @@ void sondehub_reply_handler(WiFiClient * client) { // also handle periodic station updates here... // interval check moved to sondehub_station_update to avoid having to calculate distance in auto mode twice - if (shState == SH_CONN_IDLE) { + if (shState == SH_CONN_IDLE || shState == SH_DISCONNECTED ) { // (do not set station update while a telemetry report is being sent sondehub_station_update(&shclient, &sonde.config.sondehub); }