Merge branch 'dl9rdz:devel' into devel

pull/212/head
eben80 2021-09-21 13:46:46 +02:00 zatwierdzone przez GitHub
commit 35cb3be793
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -687,6 +687,7 @@ int RS41::decode41(byte *data, int maxlen)
Serial.print("; RS41 ID ");
snprintf(buf, 10, "%.8s ", data+p+2);
Serial.print(buf);
sonde.si()->batteryVoltage = data[p+10] / 10.0f;
si->type=STYPE_RS41;
if(strncmp(si->id, (const char *)(data+p+2), 8)) {
// ID changed, i.e. new sonde on same frequency. clear calibration data

Wyświetl plik

@ -111,6 +111,7 @@ typedef struct st_sondeinfo {
float temperature = -300.0; // platinum resistor temperature
float tempRHSensor = -300.0; // temperature of relative humidity sensor
float relativeHumidity = -1.0; // relative humidity
float batteryVoltage = -1;
} SondeInfo;
// rxStat: 3=undef[empty] 1=timeout[.] 2=errro[E] 0=ok[|] 4=no valid position[°]