Fix SDM630_2 phase display

Fix SDM630_2 phase display (#6431)
This commit is contained in:
Theo Arends 2019-09-16 15:55:59 +02:00
parent 7e5b9eb810
commit 9c6b4259a4

View File

@ -176,6 +176,7 @@ void Sdm630SnsInit(void)
uint8_t result = Sdm630Modbus->Begin(SDM630_SPEED);
if (result) {
if (2 == result) { ClaimSerial(); }
Energy.phase_count = 3;
} else {
energy_flg = ENERGY_NONE;
}