From 9c726b8f6896348f0f5c8e3425e12db8a64f372e Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 30 Sep 2022 10:26:48 +1000 Subject: [PATCH] Tools: change namespace of MultiCopter and FixedWing params this stops the libraries knowing anything about AP_Vehicle --- Tools/Replay/Replay.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tools/Replay/Replay.h b/Tools/Replay/Replay.h index fd1c4b2a77..1efa1adbb3 100644 --- a/Tools/Replay/Replay.h +++ b/Tools/Replay/Replay.h @@ -14,6 +14,7 @@ */ #include +#include #include "LogReader.h" @@ -45,7 +46,7 @@ public: virtual bool set_mode(const uint8_t new_mode, const ModeReason reason) override { return true; } virtual uint8_t get_mode() const override { return 0; } - AP_Vehicle::FixedWing aparm; + AP_FixedWing aparm; AP_Int32 unused; // logging is magic for Replay; this is unused struct LogStructure log_structure[256] = {