avoid regression caused by #4337 due to changed order of data series

enum
This commit is contained in:
Thies Lennart Alff
2024-10-12 22:01:31 +02:00
committed by Alejandro Martinez
parent 6e039be362
commit f4d6c2ae40

View File

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