diff --git a/sw/airborne/subsystems/ahrs/ahrs_float_dcm.c b/sw/airborne/subsystems/ahrs/ahrs_float_dcm.c index 321463f186..6d1717a6ff 100644 --- a/sw/airborne/subsystems/ahrs/ahrs_float_dcm.c +++ b/sw/airborne/subsystems/ahrs/ahrs_float_dcm.c @@ -142,6 +142,7 @@ bool_t ahrs_dcm_align(struct Int32Rates *lp_gyro, struct Int32Vect3 *lp_accel, RATES_FLOAT_OF_BFP(ahrs_dcm.gyro_bias, bias0); ahrs_dcm.status = AHRS_DCM_RUNNING; + ahrs_dcm.is_aligned = TRUE; return TRUE; }