Update RX_FSK.ino

pull/160/head
Luke Prior 2021-09-14 17:49:50 +10:00 zatwierdzone przez GitHub
rodzic a8bf1ed7d3
commit 3078a59474
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -3338,8 +3338,8 @@ void sondehub_send_data(WiFiClient * client, SondeInfo * s, struct st_sondehub *
// Only send temp & humidity if provided
if (((int)s->temperature != 0) && ((int)s->relativeHumidity != 0)) {
sprintf(w,
"\"temp\": %.1f,"
"\"humidity\": %.1f,",
"\"temp\": %.3f,"
"\"humidity\": %.3f,",
float(s->temperature), float(s->relativeHumidity)
);
w += strlen(w);