mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
AP_Motors - fixed last "shadowing" compiler warning caused by badly named parameter in auto_armed method.
This commit is contained in:
parent
c27b83c8a8
commit
d0cbd577cd
@ -84,7 +84,7 @@ public:
|
|||||||
// check or set status of auto_armed - controls whether autopilot can take control of throttle
|
// check or set status of auto_armed - controls whether autopilot can take control of throttle
|
||||||
// Note: this should probably be moved out of this class as it has little to do with the motors
|
// Note: this should probably be moved out of this class as it has little to do with the motors
|
||||||
virtual bool auto_armed() { return _auto_armed; };
|
virtual bool auto_armed() { return _auto_armed; };
|
||||||
virtual void auto_armed(bool armed) { _auto_armed = armed; };
|
virtual void auto_armed(bool arm) { _auto_armed = arm; };
|
||||||
|
|
||||||
// set_min_throttle - sets the minimum throttle that will be sent to the engines when they're not off (i.e. to prevents issues with some motors spinning and some not at very low throttle)
|
// set_min_throttle - sets the minimum throttle that will be sent to the engines when they're not off (i.e. to prevents issues with some motors spinning and some not at very low throttle)
|
||||||
virtual void set_min_throttle(uint16_t min_throttle) { _min_throttle = min_throttle; };
|
virtual void set_min_throttle(uint16_t min_throttle) { _min_throttle = min_throttle; };
|
||||||
|
Loading…
Reference in New Issue
Block a user