no sh location report without enabling sh reporting

pull/225/head
Hansi, dl9rdz 2021-10-13 19:20:34 +02:00
rodzic 4e773944b1
commit ff5f4bfa24
2 zmienionych plików z 6 dodań i 4 usunięć

Wyświetl plik

@ -3641,9 +3641,11 @@ 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 || shState == SH_DISCONNECTED ) {
// (do not set station update while a telemetry report is being sent
sondehub_station_update(&shclient, &sonde.config.sondehub);
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);
}
}
}

Wyświetl plik

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