Skip to content

Commit

Permalink
0.8.60
Browse files Browse the repository at this point in the history
* merge PR: fixed millis in serial log #1373
* merge PR: fix powergraph scale #1374
* changed inverter gap to `1` as default (old settings will be overridden)
  • Loading branch information
lumapu committed Jan 20, 2024
1 parent 8c0265a commit bed7227
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## 0.8.60 - 2024-01-20
* merge PR: non blocking nRF loop #1371
* merge PR: fixed millis in serial log #1373
* merge PR: fix powergraph scale #1374
* changed inverter gap to `1` as default (old settings will be overridden)

## 0.8.59 - 2024-01-18
* merge PR: solve display settings dependencies #1369
Expand Down
7 changes: 5 additions & 2 deletions src/config/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* https://arduino-esp8266.readthedocs.io/en/latest/filesystem.html#flash-layout
* */

#define CONFIG_VERSION 8
#define CONFIG_VERSION 9


#define PROT_MASK_INDEX 0x0001
Expand Down Expand Up @@ -448,7 +448,7 @@ class settings {
mCfg.inst.startWithoutTime = false;
mCfg.inst.rstMaxValsMidNight = false;
mCfg.inst.yieldEffiency = 1.0f;
mCfg.inst.gapMs = 500;
mCfg.inst.gapMs = 1;
mCfg.inst.readGrid = true;

for(uint8_t i = 0; i < MAX_NUM_INVERTERS; i++) {
Expand Down Expand Up @@ -509,6 +509,9 @@ class settings {
if(mCfg.configVersion < 8) {
mCfg.sun.offsetSecEvening = mCfg.sun.offsetSecMorning;
}
if(mCfg.configVersion < 9) {
mCfg.inst.gapMs = 1;
}
}
}

Expand Down

0 comments on commit bed7227

Please sign in to comment.