station update also if disconected

This commit is contained in:
Hansi, dl9rdz 2021-09-23 12:49:56 +02:00
parent 4622f6f99a
commit 9fdfc02caf
1 changed files with 1 additions and 1 deletions

View File

@ -3578,7 +3578,7 @@ void sondehub_reply_handler(WiFiClient * client) {
// also handle periodic station updates here... // also handle periodic station updates here...
// interval check moved to sondehub_station_update to avoid having to calculate distance in auto mode twice // 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 // (do not set station update while a telemetry report is being sent
sondehub_station_update(&shclient, &sonde.config.sondehub); sondehub_station_update(&shclient, &sonde.config.sondehub);
} }