From 825187e50470b5a3e0896ed2e1346bd066430731 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Fri, 14 Aug 2015 14:33:36 -0400 Subject: [PATCH] Moved comments to re-trigger TeamCity --- src/AutoPilotPlugins/PX4/RadioComponent.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/AutoPilotPlugins/PX4/RadioComponent.cc b/src/AutoPilotPlugins/PX4/RadioComponent.cc index 94d1fb493..1e8c9e48b 100644 --- a/src/AutoPilotPlugins/PX4/RadioComponent.cc +++ b/src/AutoPilotPlugins/PX4/RadioComponent.cc @@ -58,7 +58,8 @@ bool RadioComponent::requiresSetup(void) const bool RadioComponent::setupComplete(void) const { - // Check for mapped attitude controls + // The best we can do to detect the need for a radio calibration is look for attitude + // controls to be mapped. QStringList attitudeMappings; attitudeMappings << "RC_MAP_ROLL" << "RC_MAP_PITCH" << "RC_MAP_YAW" << "RC_MAP_THROTTLE"; foreach(QString mapParam, attitudeMappings) { @@ -86,9 +87,6 @@ QStringList RadioComponent::setupCompleteChangedTriggerList(void) const { QStringList triggers; - // The best we can do to detect the need for a radio calibration is look for attitude - // controls to be mapped. - triggers << "RC_MAP_ROLL" << "RC_MAP_PITCH" << "RC_MAP_YAW" << "RC_MAP_THROTTLE"; return triggers; -- 2.22.0