diff --git a/libraries/GCS_MAVLink/GCS_Param.cpp b/libraries/GCS_MAVLink/GCS_Param.cpp index 68166e0208..fe6ab7c11b 100644 --- a/libraries/GCS_MAVLink/GCS_Param.cpp +++ b/libraries/GCS_MAVLink/GCS_Param.cpp @@ -108,7 +108,7 @@ bool GCS_MAVLINK::have_flow_control(void) return false; } - if (_port->get_flow_control() != AP_HAL::UARTDriver::FLOW_CONTROL_DISABLE) { + if (_port->flow_control_enabled()) { return true; }