Fix Gaps - Fill stationary gaps with zeroes

To match the comment which seems to reflect the original intention:
// stationary or greater than stop seconds... fill with zeroes
Otherwise stationary gaps remain unfilled.
This commit is contained in:
Alejandro Martinez
2025-09-22 14:55:55 -03:00
parent 98593fce2d
commit e75ab10772

View File

@@ -261,8 +261,8 @@ FixGaps::postProcess(RideFile *ride, DataProcessorConfig *config=0, QString op="
ride->command->insertPoint(position++, add);
}
// stationary or greater than 30 seconds... fill with zeroes
} else if (gap > stop) {
// stationary or greater than stop seconds... fill with zeroes
} else if (stationary || gap > stop) {
dropouts++;
dropouttime += gap;