mavlink: remove unused get_uart_fd(unsigned index) method

This commit is contained in:
Beat Küng 2019-12-05 14:58:30 +01:00 committed by Kabir Mohammed
parent 993fa5bd37
commit e003b1ce79
2 changed files with 0 additions and 14 deletions

View File

@ -487,18 +487,6 @@ Mavlink::forward_message(const mavlink_message_t *msg, Mavlink *self)
}
}
int
Mavlink::get_uart_fd(unsigned index)
{
Mavlink *inst = get_instance(index);
if (inst) {
return inst->get_uart_fd();
}
return -1;
}
int
Mavlink::mavlink_open_uart(const int baud, const char *uart_name, const bool force_flow_control)
{

View File

@ -164,8 +164,6 @@ public:
static void forward_message(const mavlink_message_t *msg, Mavlink *self);
static int get_uart_fd(unsigned index);
int get_uart_fd() const { return _uart_fd; }
/**