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.
This commit is contained in:
Sean Rhea
2010-01-25 08:31:50 -08:00
parent 19e023928b
commit 76a8d94384

View File

@@ -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