Browse Source

AP_Motors: only set output side of range for RSC

master
Andrew Tridgell 9 years ago committed by Randy Mackay
parent
commit
e1f4814068
  1. 2
      libraries/AP_Motors/AP_MotorsHeli_RSC.cpp

2
libraries/AP_Motors/AP_MotorsHeli_RSC.cpp

@ -25,7 +25,7 @@ extern const AP_HAL::HAL& hal; @@ -25,7 +25,7 @@ extern const AP_HAL::HAL& hal;
void AP_MotorsHeli_RSC::init_servo()
{
// set servo range
_servo_output.set_range(0,1000);
_servo_output.set_range_out(0,1000);
}
// recalc_scalers - recalculates various scalers used. Should be called at about 1hz to allow users to see effect of changing parameters

Loading…
Cancel
Save