made RateP range a little more sensible

removed unused var
This commit is contained in:
Jason Short 2011-12-06 21:03:07 -08:00
parent b508f817e4
commit 118a232b13
1 changed files with 1 additions and 2 deletions

View File

@ -392,7 +392,6 @@ static int16_t airspeed; // m/s * 100
// Location Errors
// ---------------
static int32_t yaw_error; // how off are we pointed
static int32_t long_error, lat_error; // temp for debugging
// Battery Sensors
@ -1438,7 +1437,7 @@ static void tuning(){
break;
case CH6_RATE_KP:
g.rc_6.set_range(0,300); // 0 to .3
g.rc_6.set_range(40,300); // 0 to .3
g.pi_rate_roll.kP(tuning_value);
g.pi_rate_pitch.kP(tuning_value);
break;