Commit 7125c130 authored by Lorenz Meier's avatar Lorenz Meier

Merge pull request #2069 from tumbili/Joystick

removed workaround
parents d44e067e efd73f70
......@@ -291,10 +291,6 @@ void Joystick::run(void)
float pitch = _adjustRange(_rgAxisValues[axis], _rgCalibration[axis]);
axis = _rgFunctionAxis[yawFunction];
_rgCalibration[axis].min = -32768;
_rgCalibration[axis].max = 32767;
_rgCalibration[axis].center = 0;
_rgCalibration[axis].reversed = false;
float yaw = _adjustRange(_rgAxisValues[axis], _rgCalibration[axis]);
axis = _rgFunctionAxis[throttleFunction];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment