From fe7fadf7f68cb446ee2120fb49190f4167e3e9fa Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Tue, 11 Nov 2014 14:32:46 +1000 Subject: [PATCH] UASControlWidget: whitespace only --- src/uas/UAS.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/uas/UAS.cc b/src/uas/UAS.cc index 422edb5ac..4b5fd5d0b 100644 --- a/src/uas/UAS.cc +++ b/src/uas/UAS.cc @@ -2905,7 +2905,7 @@ bool UAS::emergencyKILL() void UAS::enableHilFlightGear(bool enable, QString options, bool sensorHil, QObject * configuration) { Q_UNUSED(configuration); - + QGCFlightGearLink* link = dynamic_cast(simulation); if (!link || !simulation) { // Delete wrong sim @@ -3115,7 +3115,7 @@ void UAS::sendHilOpticalFlow(quint64 time_us, qint16 flow_x, qint16 flow_y, floa float flow_comp_m_y, quint8 quality, float ground_distance) { // FIXME: This needs to be updated for new mavlink_msg_hil_optical_flow_pack api - + Q_UNUSED(time_us); Q_UNUSED(flow_x); Q_UNUSED(flow_y); @@ -3123,14 +3123,14 @@ void UAS::sendHilOpticalFlow(quint64 time_us, qint16 flow_x, qint16 flow_y, floa Q_UNUSED(flow_comp_m_y); Q_UNUSED(quality); Q_UNUSED(ground_distance); - + if (this->base_mode & MAV_MODE_FLAG_HIL_ENABLED) { #if 0 mavlink_message_t msg; mavlink_msg_hil_optical_flow_pack(mavlink->getSystemId(), mavlink->getComponentId(), &msg, time_us, 0, 0 /* hack */, flow_x, flow_y, 0.0f /* hack */, 0.0f /* hack */, 0.0f /* hack */, 0 /* hack */, quality, ground_distance); - + sendMessage(msg); lastSendTimeOpticalFlow = QGC::groundTimeMilliseconds(); #endif -- 2.22.0