forked from Archive/PX4-Autopilot
mavlink: remove unused get_uart_fd(unsigned index) method
This commit is contained in:
parent
c17c54b61b
commit
08e36de020
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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; }
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue