diff --git a/src/devices/RemoteControlBoard/RemoteControlBoard.cpp b/src/devices/RemoteControlBoard/RemoteControlBoard.cpp index 33e054d7c5..0668685050 100644 --- a/src/devices/RemoteControlBoard/RemoteControlBoard.cpp +++ b/src/devices/RemoteControlBoard/RemoteControlBoard.cpp @@ -2234,9 +2234,9 @@ bool RemoteControlBoard::getMotorTorqueParams(int j, MotorTorqueParameters *para return false; } Bottle& l = *lp; - if (l.size() != 8) + if (l.size() != 9) { - yCError(REMOTECONTROLBOARD, "getMotorTorqueParams return value not understood, size != 8"); + yCError(REMOTECONTROLBOARD, "getMotorTorqueParams return value not understood, size != 9"); return false; } params->bemf = l.get(0).asFloat64();