mirror of https://github.com/ArduPilot/ardupilot
Copter: allow scripts to get modes
This commit is contained in:
parent
b4f2c8cfa0
commit
e01e924711
|
@ -797,6 +797,7 @@ private:
|
|||
// mode.cpp
|
||||
bool set_mode(Mode::Number mode, ModeReason reason);
|
||||
bool set_mode(const uint8_t new_mode, const ModeReason reason) override;
|
||||
uint8_t get_mode() const override { return (uint8_t)control_mode; }
|
||||
void update_flight_mode();
|
||||
void notify_flight_mode();
|
||||
|
||||
|
|
Loading…
Reference in New Issue