From f5abb20781c8443511818cc00a29bf67027d1d43 Mon Sep 17 00:00:00 2001 From: premultiply <4681172+premultiply@users.noreply.github.com> Date: Tue, 21 Feb 2023 21:33:30 +0100 Subject: [PATCH] remove phase usage warning #6335 --- core/loadpoint.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/loadpoint.go b/core/loadpoint.go index 150062158..e5a255a99 100644 --- a/core/loadpoint.go +++ b/core/loadpoint.go @@ -1221,11 +1221,6 @@ func (lp *Loadpoint) updateChargeCurrents() { lp.publish("chargeCurrents", lp.chargeCurrents) if lp.charging() { - // Quine-McCluskey for (¬L1∧L2∧¬L3) ∨ (¬L1∧¬L2∧L3) ∨ (L1∧¬L2∧L3) ∨ (¬L1∧L2∧L3) -> ¬L1 ∧ L2 ∨ ¬L2 ∧ L3 - if !(i1 > minActiveCurrent) && (i2 > minActiveCurrent) || !(i2 > minActiveCurrent) && (i3 > minActiveCurrent) { - lp.log.WARN.Printf("invalid phase wiring between charge meter and charger") - } - var phases int for _, i := range lp.chargeCurrents { if i > minActiveCurrent {