show configured M10/M20 type as long as no signal has been recevied

pull/207/head
Hansi, dl9rdz 2021-09-28 11:03:48 +02:00
rodzic c3213c6f41
commit 5166e7d950
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -717,7 +717,7 @@ void Sonde::clearDisplay() {
}
SondeType Sonde::realType(SondeInfo *si) {
if(TYPE_IS_METEO(si->type)) { return si->d.subtype==1 ? STYPE_M10:STYPE_M20; }
if(TYPE_IS_METEO(si->type) && si->d.subtype>0 ) { return si->d.subtype==1 ? STYPE_M10:STYPE_M20; }
else return si->type;
}

Wyświetl plik

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