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 Julian Oes
parent c17c54b61b
commit 08e36de020
2 changed files with 0 additions and 14 deletions

View File

@ -489,18 +489,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; }
/**