mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_NavEKF2: Add missing perf_end
This commit is contained in:
parent
4d958952f6
commit
a63eac8073
@ -433,6 +433,7 @@ void NavEKF2_core::FuseMagnetometer()
|
||||
|
||||
// if the magnetometer is unhealthy, do not proceed further
|
||||
if (!magHealth) {
|
||||
hal.util->perf_end(_perf_test[2]);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user