Copter: make motors armed call const

This commit is contained in:
Randy Mackay 2014-01-30 16:29:53 +09:00 committed by Andrew Tridgell
parent 3b0de0d23d
commit 48a0917670
1 changed files with 1 additions and 1 deletions

View File

@ -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)