diff --git a/src/qgcunittest/MockUAS.h b/src/qgcunittest/MockUAS.h index e9a48d9dea2ed416099e72c8f88f91e52de4cecc..993307cf4675965e8fb54846505a8e4d8dd4f496 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) */