diff --git a/src/VehicleSetup/JoystickConfigController.cc b/src/VehicleSetup/JoystickConfigController.cc index 102603090d60905819881d9394d0b45bb162236f..f668a7a64751a3897ec17c81285af529ca312ee2 100644 --- a/src/VehicleSetup/JoystickConfigController.cc +++ b/src/VehicleSetup/JoystickConfigController.cc @@ -386,11 +386,6 @@ void JoystickConfigController::_inputStickMin(Joystick::AxisFunction_t function, } else { _rgAxisInfo[axis].axisMin = value; } - - // Check if this is throttle and set trim accordingly - if (function == Joystick::throttleFunction) { - _rgAxisInfo[axis].axisTrim = value; - } qCDebug(JoystickConfigControllerLog) << "_inputStickMin saving values, function:axis:value:reversed" << function << axis << value << info->reversed;