diff --git a/src/modules/interface/outlierFilter.h b/src/modules/interface/outlierFilter.h index 3296e0fe4a..c3f375c419 100644 --- a/src/modules/interface/outlierFilter.h +++ b/src/modules/interface/outlierFilter.h @@ -30,7 +30,7 @@ #include "stabilizer_types.h" bool outlierFilterValidateTdoaSimple(const tdoaMeasurement_t* tdoa); -bool outlierFilterVaildateTdoaSteps(const tdoaMeasurement_t* tdoa, const float error, const vector_t* jacobian, const point_t* estPos); +bool outlierFilterValidateTdoaSteps(const tdoaMeasurement_t* tdoa, const float error, const vector_t* jacobian, const point_t* estPos); void outlierFilterReset(); diff --git a/src/modules/src/estimator_kalman.c b/src/modules/src/estimator_kalman.c index 45ac7db6ec..45ecab63f7 100644 --- a/src/modules/src/estimator_kalman.c +++ b/src/modules/src/estimator_kalman.c @@ -1038,7 +1038,7 @@ static void stateEstimatorUpdateWithTDOA(tdoaMeasurement_t *tdoa) .z = S[STATE_Z], }; - bool sampleIsGood = outlierFilterVaildateTdoaSteps(tdoa, error, &jacobian, &estimatedPosition); + bool sampleIsGood = outlierFilterValidateTdoaSteps(tdoa, error, &jacobian, &estimatedPosition); if (sampleIsGood) { stateEstimatorScalarUpdate(&H, error, tdoa->stdDev); } diff --git a/src/modules/src/outlierFilter.c b/src/modules/src/outlierFilter.c index f5c904c80b..c7a56c594e 100644 --- a/src/modules/src/outlierFilter.c +++ b/src/modules/src/outlierFilter.c @@ -67,7 +67,7 @@ bool outlierFilterValidateTdoaSimple(const tdoaMeasurement_t* tdoa) { return isDistanceDiffSmallerThanDistanceBetweenAnchors(tdoa); } -bool outlierFilterVaildateTdoaSteps(const tdoaMeasurement_t* tdoa, const float error, const vector_t* jacobian, const point_t* estPos) { +bool outlierFilterValidateTdoaSteps(const tdoaMeasurement_t* tdoa, const float error, const vector_t* jacobian, const point_t* estPos) { bool sampleIsGood = false; if (isDistanceDiffSmallerThanDistanceBetweenAnchors(tdoa)) {