Plane: move sensor flags to be a GCS thing rather than a GCS_MAVLINK thing
This commit is contained in:
parent
039aa3f3b3
commit
a3c13fc028
@ -153,7 +153,7 @@ void Plane::send_fence_status(mavlink_channel_t chan)
|
||||
#endif
|
||||
|
||||
|
||||
void GCS_MAVLINK_Plane::get_sensor_status_flags(uint32_t &present,
|
||||
void GCS_Plane::get_sensor_status_flags(uint32_t &present,
|
||||
uint32_t &enabled,
|
||||
uint32_t &health)
|
||||
{
|
||||
|
@ -56,7 +56,6 @@ private:
|
||||
MAV_MODE base_mode() const override;
|
||||
uint32_t custom_mode() const override;
|
||||
MAV_STATE system_status() const override;
|
||||
void get_sensor_status_flags(uint32_t &present, uint32_t &enabled, uint32_t &health);
|
||||
|
||||
uint8_t radio_in_rssi() const;
|
||||
|
||||
|
@ -22,6 +22,8 @@ public:
|
||||
|
||||
void send_airspeed_calibration(const Vector3f &vg);
|
||||
|
||||
void get_sensor_status_flags(uint32_t &present, uint32_t &enabled, uint32_t &health);
|
||||
|
||||
private:
|
||||
|
||||
GCS_MAVLINK_Plane _chan[MAVLINK_COMM_NUM_BUFFERS];
|
||||
|
Loading…
Reference in New Issue
Block a user