mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
CSVRideFile: Read iBike device type and version
This commit is contained in:
@@ -334,6 +334,8 @@ RideFile *CsvFileReader::openRideFile(QFile &file, QStringList &errors, QList<Ri
|
||||
// the trailing zeroes in the configuration area seem to be causing an error
|
||||
// the number is in the format 5.000000
|
||||
recInterval = (int)line.section(',',4,4).toDouble();
|
||||
rideFile->setDeviceType(line.section(',',26,26));
|
||||
rideFile->setTag("Device Info", line.section(',',20,21).remove(QChar('"')));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user