diff --git a/src/modules/sensors/data_validator/DataValidatorGroup.cpp b/src/modules/sensors/data_validator/DataValidatorGroup.cpp index 7ebf1550d6..20c1358525 100644 --- a/src/modules/sensors/data_validator/DataValidatorGroup.cpp +++ b/src/modules/sensors/data_validator/DataValidatorGroup.cpp @@ -164,7 +164,7 @@ float *DataValidatorGroup::get_best(uint64_t timestamp, int *index) /* * Switch if: * 1) the confidence is higher and priority is equal or higher - * 2) the confidence is no less than 1% different and the priority is higher + * 2) the confidence is less than 1% different and the priority is higher */ if ((((max_confidence < MIN_REGULAR_CONFIDENCE) && (confidence >= MIN_REGULAR_CONFIDENCE)) || (confidence > max_confidence && (next->priority() >= max_priority)) ||