Sub: move handling of incoming statutext messages up

This commit is contained in:
Peter Barker 2017-07-12 17:51:23 +10:00 committed by Francisco Ferreira
parent abce338076
commit 68bcf4632c
2 changed files with 6 additions and 0 deletions

View File

@ -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
bool GCS_MAVLINK_Sub::try_send_message(enum ap_message id)
{

View File

@ -15,6 +15,7 @@ protected:
};
AP_Mission *get_mission() override;
uint8_t sysid_my_gcs() const override;
private: