From 97eb82b8f9bbbf9960a59efb1125b4524ed7c117 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Tue, 9 Dec 2014 12:10:22 -0800 Subject: [PATCH] MockUAS reports as MAV_AUTOPILOT_PX4 --- src/qgcunittest/MockUAS.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qgcunittest/MockUAS.h b/src/qgcunittest/MockUAS.h index e9a48d9de..993307cf4 100644 --- a/src/qgcunittest/MockUAS.h +++ b/src/qgcunittest/MockUAS.h @@ -103,7 +103,7 @@ public: virtual QList* getLinks() { Q_ASSERT(false); return NULL; }; virtual bool systemCanReverse() const { Q_ASSERT(false); return false; }; virtual QString getSystemTypeName() { Q_ASSERT(false); return _bogusString; }; - virtual int getAutopilotType() { Q_ASSERT(false); return 0; }; + virtual int getAutopilotType() { return MAV_AUTOPILOT_PX4; }; virtual QGCUASFileManager* getFileManager() {Q_ASSERT(false); return NULL; } /** @brief Send a message over this link (to this or to all UAS on this link) */ -- 2.22.0