Update sondehub.c

Changing internal_temp to temp and temp to ext_temperature in order to match up with the tags used at https://grafana.v2.sondehub.org/
pull/73/head
Kevin Walton 2022-12-07 21:57:26 +00:00 zatwierdzone przez GitHub
rodzic 3cd13f1d2f
commit 37d5b5ab7d
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

@ -205,11 +205,11 @@ void ExtractFields(char *Telemetry, char *ExtractedFields)
break;
case 'A':
sprintf(Value, "\"internal_temp\":%s,", token);
sprintf(Value, "\"temp\":%s,", token);
break;
case 'B':
sprintf(Value, "\"temp\":%s,", token);
sprintf(Value, "\"ext_temperature\":%s,", token);
break;
case 'C':