EKF: Make PR comply with project convention for indenting

This commit is contained in:
Paul Riseborough
2016-02-08 15:12:38 +11:00
parent cdc42c1de0
commit 47ab5ebcdd
5 changed files with 148 additions and 144 deletions
+5 -3
View File
@@ -146,9 +146,11 @@ bool Ekf::update()
if (_mag_buffer.pop_first_older_than(_imu_sample_delayed.time_us, &_mag_sample_delayed)) {
if (_control_status.flags.mag_3D && _control_status.flags.angle_align) {
fuseMag();
if (_control_status.flags.mag_dec) {
fuseDeclination();
}
if (_control_status.flags.mag_dec) {
fuseDeclination();
}
} else if (_control_status.flags.mag_hdg && _control_status.flags.angle_align) {
fuseHeading();
}