Merge branch 'patch-2' of https://github.com/LukePrior/rdz_ttgo_sonde into LukePrior-patch-2

pull/102/head
Hansi, dl9rdz 2021-06-30 13:46:49 +02:00
commit 0e4710d177
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -3146,7 +3146,7 @@ void sondehub_send_data(WiFiClient *client, SondeInfo *s, struct st_sondehub *co
// DFM uses UTC. Most of the other radiosondes use GPS time
// SondeHub expect datetime to be the same time sytem as the sonde transmits as time stamp
if ( s->type == STYPE_RS41 || s->type == STYPE_RS92 || s->type == STYPE_M10 || s->type == STYPE_M20 ) {
if ( s->type == STYPE_RS41 || s->type == STYPE_RS92 || s->type == STYPE_M20 ) {
t += 18; // convert back to GPS time from UTC time +18s
}