Sub: move handling of incoming statutext messages up
This commit is contained in:
parent
abce338076
commit
68bcf4632c
@ -428,6 +428,11 @@ void Sub::send_pid_tuning(mavlink_channel_t chan)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
uint8_t GCS_MAVLINK_Sub::sysid_my_gcs() const
|
||||||
|
{
|
||||||
|
return sub.g.sysid_my_gcs;
|
||||||
|
}
|
||||||
|
|
||||||
// try to send a message, return false if it won't fit in the serial tx buffer
|
// try to send a message, return false if it won't fit in the serial tx buffer
|
||||||
bool GCS_MAVLINK_Sub::try_send_message(enum ap_message id)
|
bool GCS_MAVLINK_Sub::try_send_message(enum ap_message id)
|
||||||
{
|
{
|
||||||
|
@ -15,6 +15,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
AP_Mission *get_mission() override;
|
AP_Mission *get_mission() override;
|
||||||
|
uint8_t sysid_my_gcs() const override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user