GCS_MAVLink: add get_uart accessor

use by flight code to print messages during startup
This commit is contained in:
Randy Mackay 2015-01-27 22:31:51 +09:00 committed by Andrew Tridgell
parent 1275ff7d40
commit 0c3a8f585a

View File

@ -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