Browse Source

Copter: make motors armed call const

mission-4.1.18
Randy Mackay 11 years ago committed by Andrew Tridgell
parent
commit
48a0917670
  1. 2
      libraries/AP_Motors/AP_Motors_Class.h

2
libraries/AP_Motors/AP_Motors_Class.h

@ -95,7 +95,7 @@ public: @@ -95,7 +95,7 @@ public:
virtual void enable() = 0;
// arm, disarm or check status status of motors
bool armed() { return _flags.armed; };
bool armed() const { return _flags.armed; };
void armed(bool 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)

Loading…
Cancel
Save