From fc8fb2e4a8ed6cea70e9196891cf9b6bd6e310ea Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Wed, 20 Aug 2014 19:58:20 -0700 Subject: [PATCH] Mock support for radio calibration --- src/qgcunittest/MockUAS.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qgcunittest/MockUAS.h b/src/qgcunittest/MockUAS.h index 6a757c0e3..fc3b0cece 100644 --- a/src/qgcunittest/MockUAS.h +++ b/src/qgcunittest/MockUAS.h @@ -153,8 +153,8 @@ public slots: virtual void setLocalPositionSetpoint(float x, float y, float z, float yaw) { Q_UNUSED(x); Q_UNUSED(y); Q_UNUSED(z); Q_UNUSED(yaw); Q_ASSERT(false); }; virtual void setLocalPositionOffset(float x, float y, float z, float yaw) { Q_UNUSED(x); Q_UNUSED(y); Q_UNUSED(z); Q_UNUSED(yaw); Q_ASSERT(false); }; - virtual void startRadioControlCalibration(int param) { Q_UNUSED(param); Q_ASSERT(false); }; - virtual void endRadioControlCalibration() { Q_ASSERT(false); }; + virtual void startRadioControlCalibration(int param) { Q_UNUSED(param); return; }; + virtual void endRadioControlCalibration() { return; }; virtual void startMagnetometerCalibration() { Q_ASSERT(false); }; virtual void startGyroscopeCalibration() { Q_ASSERT(false); }; virtual void startPressureCalibration() { Q_ASSERT(false); }; -- 2.22.0