mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-07 00:13:59 -04:00
Copter: move vehicle_initialised to be on GCS not GCS_MAVLink
This commit is contained in:
parent
070b185d2a
commit
a5c18ff8f5
@ -27,6 +27,8 @@ public:
|
||||
|
||||
const char* frame_string() const override;
|
||||
|
||||
bool vehicle_initialised() const override;
|
||||
|
||||
private:
|
||||
|
||||
GCS_MAVLINK_Copter _chan[MAVLINK_COMM_NUM_BUFFERS];
|
||||
|
@ -208,7 +208,7 @@ uint32_t GCS_MAVLINK_Copter::telem_delay() const
|
||||
return (uint32_t)(copter.g.telem_delay);
|
||||
}
|
||||
|
||||
bool GCS_MAVLINK_Copter::vehicle_initialised() const {
|
||||
bool GCS_Copter::vehicle_initialised() const {
|
||||
return copter.ap.initialised;
|
||||
}
|
||||
|
||||
|
@ -54,8 +54,6 @@ private:
|
||||
void handle_rc_channels_override(const mavlink_message_t *msg) override;
|
||||
bool try_send_message(enum ap_message id) override;
|
||||
|
||||
bool vehicle_initialised() const override;
|
||||
|
||||
void packetReceived(const mavlink_status_t &status,
|
||||
mavlink_message_t &msg) override;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user