diff --git a/Tools/Replay/Replay.h b/Tools/Replay/Replay.h index 7f991becc1..ddd40daaad 100644 --- a/Tools/Replay/Replay.h +++ b/Tools/Replay/Replay.h @@ -60,7 +60,7 @@ public: AP_GPS gps; Compass compass; AP_SerialManager serial_manager; - RangeFinder rng{serial_manager}; + RangeFinder rng; NavEKF2 EKF2{&ahrs, rng}; NavEKF3 EKF3{&ahrs, rng}; AP_AHRS_NavEKF ahrs{EKF2, EKF3};