diff --git a/src/modules/src/estimator/estimator.c b/src/modules/src/estimator/estimator.c index 3e7899b99c..9930ca2927 100644 --- a/src/modules/src/estimator/estimator.c +++ b/src/modules/src/estimator/estimator.c @@ -118,7 +118,7 @@ void stateEstimatorSwitchTo(StateEstimatorType estimator) { #if defined(CONFIG_ESTIMATOR_KALMAN) #define ESTIMATOR StateEstimatorTypeKalman - #elif defined(CONFIG_UKF_KALMAN) + #elif defined(CONFIG_ESTIMATOR_UKF) #define ESTIMATOR StateEstimatorTypeUkf #elif defined(CONFIG_ESTIMATOR_COMPLEMENTARY) #define ESTIMATOR StateEstimatorTypeComplementary