From ec3fe09602d2b16ce81190dab6eebc5ecb737460 Mon Sep 17 00:00:00 2001 From: Paul Riseborough Date: Thu, 18 May 2017 11:28:12 +1000 Subject: [PATCH] ekf2: format fix --- src/modules/ekf2/ekf2_main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/ekf2/ekf2_main.cpp b/src/modules/ekf2/ekf2_main.cpp index 99d2399036..3619f68cf5 100644 --- a/src/modules/ekf2/ekf2_main.cpp +++ b/src/modules/ekf2/ekf2_main.cpp @@ -1070,6 +1070,7 @@ void Ekf2::task_main() // Declare all bias estimates invalid if any variances are out of range bool all_estimates_invalid = false; + for (uint8_t axis_index = 0; axis_index <= 2; axis_index++) { if (status.covariances[axis_index + 19] < min_var_allowed || status.covariances[axis_index + 19] > max_var_allowed) {