From 702f44cf04467a389260b4189b8170fe64f91953 Mon Sep 17 00:00:00 2001 From: Adrian Scillato <35405447+ascillato@users.noreply.github.com> Date: Tue, 11 Sep 2018 14:10:51 -0300 Subject: [PATCH] Fixed Compilation Bug #3766 --- sonoff/xnrg_05_pzem2.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonoff/xnrg_05_pzem2.ino b/sonoff/xnrg_05_pzem2.ino index 7f9a4f8ba..b7e1eab42 100644 --- a/sonoff/xnrg_05_pzem2.ino +++ b/sonoff/xnrg_05_pzem2.ino @@ -211,7 +211,7 @@ int Xnrg05(byte function) if (FUNC_PRE_INIT == function) { Pzem2DrvInit(); } - else if (XNRG_03 == energy_flg) { + else if (XNRG_05 == energy_flg) { switch (function) { case FUNC_INIT: Pzem2SnsInit();