mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-25 06:46:10 +02:00
0.8.117
* fix max temperature tooltip if only one inverter is configured #1605
This commit is contained in:
parent
4191aafeeb
commit
fe80d3997d
4 changed files with 10 additions and 8 deletions
|
@ -234,6 +234,7 @@ class Inverter {
|
|||
initAssignment(&recordAlarm, AlarmData);
|
||||
toRadioId();
|
||||
curCmtFreq = this->config->frequency; // update to frequency read from settings
|
||||
resetAlarms(true);
|
||||
}
|
||||
|
||||
uint8_t getPosByChFld(uint8_t channel, uint8_t fieldId, record_t<> *rec) {
|
||||
|
@ -594,8 +595,8 @@ class Inverter {
|
|||
memset(mLastYD, 0, sizeof(float) * 6);
|
||||
|
||||
if(clear) {
|
||||
tsMaxAcPower = 0;
|
||||
tsMaxTemperature = 0;
|
||||
tsMaxAcPower = *Timestamp;
|
||||
tsMaxTemperature = *Timestamp;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue