From 50fd01af97a936cd88fd7e046988bbe04c749cf4 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Wed, 10 Apr 2024 19:47:24 +0100 Subject: [PATCH] GCS_MAVLink: use new `flow_control_enabled` helper --- libraries/GCS_MAVLink/GCS_Param.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }