mirror of
https://github.com/Eigenbaukombinat/ebk_co2ampel.git
synced 2024-11-24 15:20:20 +01:00
fix: write preferences after calibration to prevent calibration loop
This commit is contained in:
parent
327ab2547a
commit
65991da03a
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ void setup() {
|
||||||
display.clear();
|
display.clear();
|
||||||
display.drawString(64, 0, "DONE");
|
display.drawString(64, 0, "DONE");
|
||||||
display.display();
|
display.display();
|
||||||
|
preferences.putUInt("cal", 42);
|
||||||
char myVersion[4];
|
char myVersion[4];
|
||||||
myMHZ19.getVersion(myVersion);
|
myMHZ19.getVersion(myVersion);
|
||||||
Serial.print("\nFirmware Version: ");
|
Serial.print("\nFirmware Version: ");
|
||||||
|
|
Loading…
Reference in a new issue