Skip to content

Commit

Permalink
CO2 Gadget Beta v0.14.014 low-power
Browse files Browse the repository at this point in the history
Fix: Version getters in getActualSettingsAsJson()
  • Loading branch information
melkati committed Jul 2, 2024
1 parent 08244d3 commit ec9e2a1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CO2_Gadget_Preferences.h
Original file line number Diff line number Diff line change
Expand Up @@ -550,11 +550,11 @@ String getActualSettingsAsJson(bool includePasswords = false) {

doc["prefVersion"] = prefVersion;
doc["prefRevision"] = prefRevision;
doc["firmVerMajor"] = firmVersionMajor;
doc["firmVerMinor"] = firmVersionMinor;
doc["firmRevision"] = firmRevision;
doc["firmBranch"] = firmBranch;
doc["firmFlavour"] = firmFlavour;
doc["firmVerMajor"] = getCO2GadgetMajorVersion();
doc["firmVerMinor"] = getCO2GadgetMinorVersion();
doc["firmRevision"] = getCO2GadgetRevisionNumber();
doc["firmBranch"] = getCO2GadgetRevisionBranch();
doc["firmFlavour"] = FLAVOUR;
doc["customCalValue"] = customCalibrationValue;
doc["tempOffset"] = String(tempOffset, 1);
doc["altitudeMeters"] = altitudeMeters;
Expand Down

0 comments on commit ec9e2a1

Please sign in to comment.