AP_Motors: throttle_min method in 0 to 1000 range

Previously the pwm range value was returned.  This value is only used by
the multicopter attitude controller's angle boost function.
This commit is contained in:
Randy Mackay 2015-07-20 20:39:05 +09:00
parent 6bf6442396
commit 8225e58454
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ public:
// get_hover_throttle_as_pwm - converts hover throttle to pwm (i.e. range 1000 ~ 2000)
int16_t get_hover_throttle_as_pwm() const;
int16_t throttle_min() const { return _min_throttle;}
int16_t throttle_min() const { return rel_pwm_to_thr_range(_min_throttle); }
int16_t throttle_max() const { return _max_throttle;}
// set_roll, set_pitch, set_yaw, set_throttle