diff --git a/libraries/GCS_MAVLink/GCS.h b/libraries/GCS_MAVLink/GCS.h index a609dd6a49..bd70a69422 100644 --- a/libraries/GCS_MAVLink/GCS.h +++ b/libraries/GCS_MAVLink/GCS.h @@ -79,6 +79,9 @@ public: msg_snoop = _msg_snoop; } + // accessor for uart + AP_HAL::UARTDriver *get_uart() { return _port; } + static const struct AP_Param::GroupInfo var_info[]; // set to true if this GCS link is active