AP_NavEKF2: Add missing perf_end

This commit is contained in:
priseborough 2017-01-26 08:01:28 +11:00 committed by Randy Mackay
parent 4d958952f6
commit a63eac8073

View File

@ -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;
}