no sh location report without enabling sh reporting

This commit is contained in:
Hansi, dl9rdz 2021-10-13 19:20:34 +02:00
parent 4e773944b1
commit ff5f4bfa24
2 changed files with 6 additions and 4 deletions

View File

@ -3641,10 +3641,12 @@ 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 (sonde.config.sondehub.active) {
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);
}
}
}
void sondehub_send_fimport(WiFiClient * client) {

View File

@ -1,4 +1,4 @@
const char *version_name = "rdzTTGOsonde";
const char *version_id = "devel20211010";
const char *version_id = "devel20211013";
const int SPIFFS_MAJOR=2;
const int SPIFFS_MINOR=16;