mirror of https://github.com/ArduPilot/ardupilot
Replay: provide a log bitmask to Dataflash constructor
This commit is contained in:
parent
f8d1ac47c7
commit
29de7b1a17
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue