kopia lustrzana https://github.com/dl9rdz/rdz_ttgo_sonde
station update also if disconected
rodzic
4622f6f99a
commit
9fdfc02caf
|
@ -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);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue