From 49fa03ef624a60cef37a58483ebe098866b69df5 Mon Sep 17 00:00:00 2001 From: Nate Weibley Date: Mon, 3 Apr 2017 22:59:36 -0400 Subject: [PATCH] Permit firmware to send responses until stdout handle is drained --- src/AnalyzeView/MavlinkConsoleController.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AnalyzeView/MavlinkConsoleController.cc b/src/AnalyzeView/MavlinkConsoleController.cc index 106725152..072d89c20 100644 --- a/src/AnalyzeView/MavlinkConsoleController.cc +++ b/src/AnalyzeView/MavlinkConsoleController.cc @@ -87,7 +87,7 @@ MavlinkConsoleController::_sendSerialData(QByteArray data, bool close) // Send maximum sized chunks until the complete buffer is transmitted while(data.size()) { QByteArray chunk{data.left(MAVLINK_MSG_SERIAL_CONTROL_FIELD_DATA_LEN)}; - uint8_t flags = SERIAL_CONTROL_FLAG_EXCLUSIVE | SERIAL_CONTROL_FLAG_RESPOND; + uint8_t flags = SERIAL_CONTROL_FLAG_EXCLUSIVE | SERIAL_CONTROL_FLAG_RESPOND | SERIAL_CONTROL_FLAG_MULTI; if (close) flags = 0; auto protocol = qgcApp()->toolbox()->mavlinkProtocol(); auto priority_link = _vehicle->priorityLink(); -- 2.22.0