station update also if disconected

pull/191/head
Hansi, dl9rdz 2021-09-23 12:49:56 +02:00
rodzic 4622f6f99a
commit 9fdfc02caf
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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);
}