From 7bdfcd4f5d116f5e2590bbb8472a3809d278bb4a Mon Sep 17 00:00:00 2001 From: Jessica Date: Thu, 28 Jun 2012 14:17:42 -0700 Subject: [PATCH] Removed second test of uas in UASWaypointManager::send functions. --- src/uas/UASWaypointManager.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/uas/UASWaypointManager.cc b/src/uas/UASWaypointManager.cc index 2f001e420..1d50c4925 100644 --- a/src/uas/UASWaypointManager.cc +++ b/src/uas/UASWaypointManager.cc @@ -935,8 +935,8 @@ void UASWaypointManager::sendWaypointCount() emit updateStatusString(QString("Starting to transmit waypoints...")); mavlink_msg_mission_count_encode(uas->mavlink->getSystemId(), uas->mavlink->getComponentId(), &message, &wpc); - //if - (uas) uas->sendMessage(message); + //if (uas) + uas->sendMessage(message); QGC::SLEEP::msleep(PROTOCOL_DELAY_MS); // // qDebug() << "sent waypoint count (" << wpc.count << ") to ID " << wpc.target_system; @@ -1003,7 +1003,7 @@ void UASWaypointManager::sendWaypoint(quint16 seq) // // qDebug() << "sent waypoint (" << wp->seq << ") to ID " << wp->target_system<<" WP Buffer count: "<mavlink->getSystemId(), uas->mavlink->getComponentId(), &message, wp); - // if (uas) + // if (uas) uas->sendMessage(message); QGC::SLEEP::msleep(PROTOCOL_DELAY_MS); } -- 2.22.0