From 537a7e07279155eef98318608a9b757ff79ff60f Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 11 Oct 2018 16:32:27 +1100 Subject: [PATCH] SITL: correct comment on sending gimbal messages --- libraries/SITL/SIM_Gimbal.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/SITL/SIM_Gimbal.cpp b/libraries/SITL/SIM_Gimbal.cpp index 8c582a5db6..df32590e6c 100644 --- a/libraries/SITL/SIM_Gimbal.cpp +++ b/libraries/SITL/SIM_Gimbal.cpp @@ -180,8 +180,9 @@ void Gimbal::update(void) void Gimbal::send_report(void) { if (AP_HAL::millis() < 10000) { - // simulated aircraft don't appear until 10s after startup. This avoids a windows - // threading issue with non-blocking sockets and the initial wait on uartA + // don't send gimbal reports until 10s after startup. This + // avoids a windows threading issue with non-blocking sockets + // and the initial wait on uartA return; } if (!mavlink.connected && mav_socket.connect(target_address, target_port)) {