From 811ec812469e0b60365867738eea9b20c06e227b Mon Sep 17 00:00:00 2001 From: bresch Date: Mon, 11 Nov 2019 14:56:53 +0100 Subject: [PATCH] parameters: change check_mag_strength from bool to int32_t to comply with the standard interface --- EKF/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EKF/common.h b/EKF/common.h index f32e35da57..b31fc69c83 100644 --- a/EKF/common.h +++ b/EKF/common.h @@ -361,7 +361,7 @@ struct parameters { // compute synthetic magnetomter Z value if possible int32_t synthesize_mag_z{0}; - bool check_mag_strength{false}; + int32_t check_mag_strength{0}; }; struct stateSample {