Merge pull request #73 from KevWal/patch-1

Update sondehub.c to match temp and ext_temperature tags as used at grafana.v2.sondehub.org
master
Pi In The Sky Project 2023-01-05 12:26:46 +00:00 zatwierdzone przez GitHub
commit 2afab21f05
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':