mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
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:
@@ -261,8 +261,8 @@ FixGaps::postProcess(RideFile *ride, DataProcessorConfig *config=0, QString op="
|
|||||||
ride->command->insertPoint(position++, add);
|
ride->command->insertPoint(position++, add);
|
||||||
}
|
}
|
||||||
|
|
||||||
// stationary or greater than 30 seconds... fill with zeroes
|
// stationary or greater than stop seconds... fill with zeroes
|
||||||
} else if (gap > stop) {
|
} else if (stationary || gap > stop) {
|
||||||
|
|
||||||
dropouts++;
|
dropouts++;
|
||||||
dropouttime += gap;
|
dropouttime += gap;
|
||||||
|
|||||||
Reference in New Issue
Block a user