From 76a8d94384c6d99fc5730f76366b69466b1f2565 Mon Sep 17 00:00:00 2001 From: Sean Rhea Date: Mon, 25 Jan 2010 08:31:50 -0800 Subject: [PATCH] stop coddling 705's firmware In other words, we're no longer going to support files from broken 705 firmware in GC. However, GC 1.2 contains the check, so people with bad files can open them in 1.2, export to CSV, and then import into a more recent build. Alternatively, if someone comes up with a good way to distinguish files that need this check from those that don't, I'd be happy to use that. --- src/TcxParser.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/TcxParser.cpp b/src/TcxParser.cpp index c4c4dc2bf..f2e9f0173 100644 --- a/src/TcxParser.cpp +++ b/src/TcxParser.cpp @@ -127,14 +127,6 @@ TcxParser::endElement( const QString&, const QString&, const QString& qName) // Time from beginning of activity double secs = start_time.secsTo(time); - // Work around bug in 705 firmware where cadence and - // power values repeat when stopped. - if (delta_d == 0.0 && distance != 0.0) - { - power = 0.0; - cadence = 0.0; - } - // Record trackpoint // for smart recording, the delta_t will not be constant