From 9eb748ed5bf6eefd26c862d0cc29947c96c28991 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 20 Sep 2015 17:48:35 +0200 Subject: [PATCH] Always publish RC data from Pixhawk --- src/modules/simulator/simulator_mavlink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/simulator/simulator_mavlink.cpp b/src/modules/simulator/simulator_mavlink.cpp index c83cec6351..bf42d346b9 100644 --- a/src/modules/simulator/simulator_mavlink.cpp +++ b/src/modules/simulator/simulator_mavlink.cpp @@ -543,7 +543,7 @@ void Simulator::pollForMAVLinkMessages(bool publish) for (int i = 0; i < len; ++i) { if (mavlink_parse_char(MAVLINK_COMM_0, serial_buf[i], &msg, &status)) { // have a message, handle it - handle_message(&msg, publish); + handle_message(&msg, true); } } }