this fix the alignment, AccInflightCalibrationArmed is a bool :

AccInflightCalibrationArmed = !AccInflightCalibrationArmed;
                        if (AccInflightCalibrationArmed) {