Browse Source

Fixed Storage address

master
Robin Thoni 4 years ago
parent
commit
61fdb8fc74
Signed by: Robin THONI <robin@rthoni.com> GPG Key ID: 4E09DEF46B99E61E
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Storage.cpp

+ 1
- 1
Storage.cpp View File

@@ -7,7 +7,7 @@ void Storage::load(AppCoreState& data)
7 7
     if (version == 1)
8 8
     {
9 9
         data.appState.water.setting = EEPROM.read(1);
10
-        data.appState.heater.setting = EEPROM.read(1);
10
+        data.appState.heater.setting = EEPROM.read(2);
11 11
     }
12 12
 }
13 13
 

Loading…
Cancel
Save