From 29de7b1a17442cf6fbe99ffb31b058040c6905bf Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 27 Jun 2017 18:25:07 +1000 Subject: [PATCH] Replay: provide a log bitmask to Dataflash constructor --- Tools/Replay/Replay.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tools/Replay/Replay.h b/Tools/Replay/Replay.h index 6dadda22ef..88fb793435 100644 --- a/Tools/Replay/Replay.h +++ b/Tools/Replay/Replay.h @@ -54,6 +54,7 @@ class ReplayVehicle { public: + ReplayVehicle() { unused = -1; } void setup(); void load_parameters(void); @@ -69,7 +70,8 @@ public: AP_InertialNav_NavEKF inertial_nav{ahrs}; AP_Vehicle::FixedWing aparm; AP_Airspeed airspeed; - DataFlash_Class dataflash{"Replay v0.1"}; + AP_Int32 unused; // logging is magic for Replay; this is unused + DataFlash_Class dataflash{"Replay v0.1", unused}; private: Parameters g;