Fix issue with uninitialized payload
Gave bad values in web ui when no inverter was reachable
This commit is contained in:
parent
eec4334fa5
commit
92c95c118a
@ -5,6 +5,7 @@
|
||||
InverterAbstract::InverterAbstract(uint64_t serial)
|
||||
{
|
||||
_serial.u64 = serial;
|
||||
memset(_payloadStats, 0, MAX_RF_FRAGMENT_COUNT * MAX_RF_PAYLOAD_SIZE);
|
||||
}
|
||||
|
||||
uint64_t InverterAbstract::serial()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user