mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
AP_NavEKF2: close perf counter when doing early return
This commit is contained in:
parent
88469ce80c
commit
596b20eb07
@ -708,6 +708,7 @@ void NavEKF2_core::FuseMagnetometer()
|
||||
faultStatus.bad_zmag = true;
|
||||
}
|
||||
CovarianceInit();
|
||||
hal.util->perf_end(_perf_test[5]);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user