fix: write preferences after calibration to prevent calibration loop

This commit is contained in:
smash 2020-11-23 23:58:24 +01:00
parent 327ab2547a
commit 65991da03a
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ void setup() {
display.clear();
display.drawString(64, 0, "DONE");
display.display();
preferences.putUInt("cal", 42);
char myVersion[4];
myMHZ19.getVersion(myVersion);
Serial.print("\nFirmware Version: ");