diff --git a/src/VehicleSetup/JoystickConfigController.cc b/src/VehicleSetup/JoystickConfigController.cc index 1026030..f668a7a 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;