fix veStruct
* PPV is int not double * fix: initialize veStruct to 0 to avoid random data on startup
This commit is contained in:
parent
6f3e33c0b1
commit
418fea2cfc
@ -257,7 +257,7 @@ uint16_t PowerLimiterClass::getDirectSolarPower()
|
||||
return 0;
|
||||
}
|
||||
|
||||
return round(VeDirect.veFrame.PPV);
|
||||
return VeDirect.veFrame.PPV;
|
||||
}
|
||||
|
||||
float PowerLimiterClass::getLoadCorrectedVoltage(std::shared_ptr<InverterAbstract> inverter)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user