diff --git a/sw/airborne/subsystems/ahrs/ahrs_float_mlkf_wrapper.c b/sw/airborne/subsystems/ahrs/ahrs_float_mlkf_wrapper.c index c1976a13cc..2bee55615b 100644 --- a/sw/airborne/subsystems/ahrs/ahrs_float_mlkf_wrapper.c +++ b/sw/airborne/subsystems/ahrs/ahrs_float_mlkf_wrapper.c @@ -101,7 +101,7 @@ static void aligner_cb(uint8_t __attribute__((unused)) sender_id, struct Int32Vect3 *lp_mag) { if (!ahrs_mlkf.is_aligned) { - ahrs_mlkf_align(lp_accel, lp_accel, lp_mag); + ahrs_mlkf_align(lp_gyro, lp_accel, lp_mag); } }