Re-enabled scaling for roll

This commit is contained in:
Lorenz Meier 2012-09-12 17:38:23 +02:00
parent cab1fed3e9
commit 59bd9ae92b
1 changed files with 1 additions and 1 deletions

View File

@ -989,7 +989,7 @@ Sensors::ppm_poll()
if (manual_control.roll < -1.0f) manual_control.roll = -1.0f;
if (manual_control.roll > 1.0f) manual_control.roll = 1.0f;
if (!isnan(_parameters.rc_scale_roll) || isinf(_parameters.rc_scale_roll))
//manual_control.roll *= _parameters.rc_scale_roll;
manual_control.roll *= _parameters.rc_scale_roll;
/*
* pitch input - stick down is negative, but stick down is pitching up (pos) in NED,