AP_Periph: move sysid_my_gcs to be public

This commit is contained in:
bugobliterator 2023-06-02 09:23:21 +10:00 committed by Andrew Tridgell
parent e36ab2e51b
commit 47908cb185

View File

@ -32,11 +32,10 @@ private:
void handleMessage(const mavlink_message_t &msg) override { handle_common_message(msg); } void handleMessage(const mavlink_message_t &msg) override { handle_common_message(msg); }
bool handle_guided_request(AP_Mission::Mission_Command &cmd) override { return true; } bool handle_guided_request(AP_Mission::Mission_Command &cmd) override { return true; }
MAV_RESULT handle_preflight_reboot(const mavlink_command_long_t &packet, const mavlink_message_t &msg) override; MAV_RESULT handle_preflight_reboot(const mavlink_command_long_t &packet, const mavlink_message_t &msg) override;
uint8_t sysid_my_gcs() const override;
protected: protected:
uint8_t sysid_my_gcs() const override;
// Periph information: // Periph information:
MAV_MODE base_mode() const override { return (MAV_MODE)MAV_MODE_FLAG_CUSTOM_MODE_ENABLED; } MAV_MODE base_mode() const override { return (MAV_MODE)MAV_MODE_FLAG_CUSTOM_MODE_ENABLED; }
MAV_STATE vehicle_system_status() const override { return MAV_STATE_CALIBRATING; } MAV_STATE vehicle_system_status() const override { return MAV_STATE_CALIBRATING; }