mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 00:28:42 +00:00
Misc fixes by Julian Simioni.. Thanks.
This commit is contained in:
@@ -219,19 +219,3 @@ void RideFile::appendPoint(double secs, double cad, double hr, double km,
|
||||
dataPresent.watts |= (watts != 0);
|
||||
dataPresent.interval |= (interval != 0);
|
||||
}
|
||||
|
||||
void
|
||||
RideFile::appendPoint(double secs, double cad, double hr, double km,
|
||||
double kph, double nm, double watts, int interval)
|
||||
{
|
||||
dataPoints_.append(new RideFilePoint(secs, cad, hr, km, kph,
|
||||
nm, watts, interval,0.0));
|
||||
dataPresent.secs |= (secs != 0);
|
||||
dataPresent.cad |= (cad != 0);
|
||||
dataPresent.hr |= (hr != 0);
|
||||
dataPresent.km |= (km != 0);
|
||||
dataPresent.kph |= (kph != 0);
|
||||
dataPresent.nm |= (nm != 0);
|
||||
dataPresent.watts |= (watts != 0);
|
||||
dataPresent.interval |= (interval != 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user