From f2c1133b47d4f92e18f56f207cefc3875d302fe7 Mon Sep 17 00:00:00 2001 From: openshwprojects <85486843+openshwprojects@users.noreply.github.com> Date: Sat, 12 Apr 2025 17:55:52 +0200 Subject: [PATCH] futher berry fixes --- src/sim/Controller_BL0942.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sim/Controller_BL0942.cpp b/src/sim/Controller_BL0942.cpp index 92bfb1b06..d6a7d7a8e 100644 --- a/src/sim/Controller_BL0942.cpp +++ b/src/sim/Controller_BL0942.cpp @@ -72,7 +72,7 @@ void CControllerBL0942::onDrawn() { if (txt_current->isBeingEdited() == false) { realCurrent = txt_current->getFloat(); } - Sim_SendFakeBL0942Packet(realVoltage, realPower, realCurrent); + Sim_SendFakeBL0942Packet(realVoltage, realCurrent, realPower); } class CControllerBase *CControllerBL0942::cloneController(class CShape *origOwner, class CShape *newOwner) { CControllerBL0942 *r = new CControllerBL0942();