From e75ab1077204eaae4407955df46cb61927005af1 Mon Sep 17 00:00:00 2001 From: Alejandro Martinez Date: Mon, 22 Sep 2025 14:55:55 -0300 Subject: [PATCH] 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. --- src/FileIO/FixGaps.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FileIO/FixGaps.cpp b/src/FileIO/FixGaps.cpp index 1d91de49d..1dcede754 100644 --- a/src/FileIO/FixGaps.cpp +++ b/src/FileIO/FixGaps.cpp @@ -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;