Skip to content

Commit

Permalink
GCS_MAVLink: move sysid_my_gcs to be public
Browse files Browse the repository at this point in the history
  • Loading branch information
bugobliterator committed Sep 21, 2023
1 parent 9a61d78 commit 97912c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libraries/GCS_MAVLink/GCS_Dummy.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ class GCS_MAVLINK_Dummy : public GCS_MAVLINK
void handleMessage(const mavlink_message_t &msg) override {}
bool try_send_message(enum ap_message id) override { return true; }
bool handle_guided_request(AP_Mission::Mission_Command &cmd) override { return true; }
uint8_t sysid_my_gcs() const override { return 1; }

protected:

uint8_t sysid_my_gcs() const override { return 1; }

// dummy information:
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; }
Expand Down

0 comments on commit 97912c3

Please sign in to comment.