mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
avoid regression caused by #4337 due to changed order of data series
enum
This commit is contained in:
committed by
Alejandro Martinez
parent
6e039be362
commit
f4d6c2ae40
@@ -35,6 +35,9 @@ public:
|
||||
ErgFileFormat mode;
|
||||
|
||||
// abstract to dataseries
|
||||
// the order matters. if we remove any entry, the corresponding layouts
|
||||
// will break since the data series is defined by its enum value. new data
|
||||
// series need to be appended.
|
||||
enum dataseries { None=0, Time, LapTime, Distance, Lap,
|
||||
Watts, Speed, Cadence, HeartRate, Load,
|
||||
XPower, BikeScore, RI, Joules, SkibaVI,
|
||||
@@ -46,12 +49,12 @@ public:
|
||||
VirtualSpeed, AltWatts, LRBalance, LapTimeRemaining,
|
||||
LeftTorqueEffectiveness, RightTorqueEffectiveness,
|
||||
LeftPedalSmoothness, RightPedalSmoothness, Slope,
|
||||
RightPowerPhaseBegin, RightPowerPhaseEnd,
|
||||
RightPowerPhasePeakBegin, RightPowerPhasePeakEnd,
|
||||
Position, RightPCO, LeftPCO,
|
||||
LapDistance, LapDistanceRemaining, ErgTimeRemaining,
|
||||
Latitude, Longitude, Altitude, RouteDistance,
|
||||
DistanceRemaining };
|
||||
DistanceRemaining,
|
||||
RightPowerPhaseBegin, RightPowerPhaseEnd,
|
||||
RightPowerPhasePeakBegin, RightPowerPhasePeakEnd,
|
||||
Position, RightPCO, LeftPCO };
|
||||
|
||||
typedef enum dataseries DataSeries;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user