Brake temps & pressures, total distance

This commit is contained in:
2023-05-19 15:36:23 +02:00
parent 243577fdcc
commit c159d9bda9
27 changed files with 461 additions and 71 deletions

View File

@ -13,7 +13,7 @@ CountedEnum(DataFieldType, size_t, DF_TSState, DF_ASState, DF_ActiveMission,
DF_IniChkState, DF_LapCount, DF_TireTempFL, DF_TireTempFR,
DF_TireTempRL, DF_TireTempRR, DF_MinCellVolt, DF_MaxCellTemp,
DF_TSSoC, DF_LVSoC, DF_TSCurrent, DF_TSVoltageBat, DF_TSVoltageVeh,
DF_Speed, DF_BBal);
DF_Speed, DF_BBal, DF_BPF, DF_BPR, DF_DistanceTotal);
enum class NamedFieldKind { Float, Bool, Text, Int };

View File

@ -19,11 +19,14 @@ public:
*/
void setTempThresholds(int *thresholds);
void setSmallText(bool small);
protected:
private:
int temp;
int tempThresholds[4];
Unicode::UnicodeChar valueBuffer[3];
Unicode::UnicodeChar valueBuffer[4];
bool small;
void updateValueBuffer();
};