mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-05 20:21:38 +02:00
0.8.82
* fixed crash once firmware version was read and sent via MqTT #1428 * possible fix: reset yield offset on midnight #1429
This commit is contained in:
parent
bd532805a6
commit
8c132048e6
5 changed files with 27 additions and 24 deletions
|
@ -466,8 +466,6 @@ void app:: zeroIvValues(bool checkAvail, bool skipYieldDay) {
|
|||
continue; // skip to next inverter
|
||||
if (!iv->config->enabled)
|
||||
continue; // skip to next inverter
|
||||
if (iv->commEnabled)
|
||||
continue; // skip to next inverter
|
||||
|
||||
if (checkAvail) {
|
||||
if (!iv->isAvailable())
|
||||
|
@ -495,6 +493,7 @@ void app:: zeroIvValues(bool checkAvail, bool skipYieldDay) {
|
|||
pos = iv->getPosByChFld(ch, FLD_MP, rec);
|
||||
iv->setValue(pos, rec, 0.0f);
|
||||
}
|
||||
iv->resetAlarms();
|
||||
|
||||
iv->doCalculations();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue