diff --git a/src/modules/mavlink/mavlink_main.cpp b/src/modules/mavlink/mavlink_main.cpp index 994ec3d94e..a697445fab 100644 --- a/src/modules/mavlink/mavlink_main.cpp +++ b/src/modules/mavlink/mavlink_main.cpp @@ -609,6 +609,10 @@ Mavlink::mavlink_open_uart(const int baud, const char *uart_name, const bool for } } + /* + * Return here in the iridium mode since the iridium driver does not + * support the subsequent function calls. + */ if (_uart_fd < 0 || _mode == MAVLINK_MODE_IRIDIUM) { return _uart_fd; }