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();