Fixed carbon dioxide kind

Necessary to be compatible with our firmware header response because this is the official terminology now (and is also important for API consumption purposes).

Milestone: patch
This commit is contained in:
Brooke Kuhlmann
2026-02-23 11:40:05 -07:00
parent 0e80b58176
commit 14d290fc05
+1 -1
View File
@@ -127,7 +127,7 @@ JSONREC rec;
rec.szModel = "SCD41";
rec.szValue = szValue;
// Add CO2 value
rec.szKind = "co2";
rec.szKind = "carbon_dioxide";
sprintf(szValue, "%d", co2.co2());
rec.szUnit = "parts_per_million";
AddJSONItem(f, &rec, REC_FIRST);