mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 05:36:39 +00:00
fixed phase count and frequency common setting
This commit is contained in:
parent
84da3deea9
commit
4e913e6a7f
@ -190,6 +190,8 @@ void Sdm230SnsInit(void)
|
|||||||
uint8_t result = Sdm230Modbus->Begin(SDM230_SPEED);
|
uint8_t result = Sdm230Modbus->Begin(SDM230_SPEED);
|
||||||
if (result) {
|
if (result) {
|
||||||
if (2 == result) { ClaimSerial(); }
|
if (2 == result) { ClaimSerial(); }
|
||||||
|
Energy.phase_count = 1;
|
||||||
|
Energy.frequency_common = true; // Use common frequency
|
||||||
} else {
|
} else {
|
||||||
TasmotaGlobal.energy_driver = ENERGY_NONE;
|
TasmotaGlobal.energy_driver = ENERGY_NONE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user