1
0
forked from me/IronOS

Add more voltage settings

This commit is contained in:
PlayDay
2021-03-07 11:34:04 +01:00
parent 038542b2fb
commit def2aa89fd
35 changed files with 498 additions and 26 deletions

View File

@@ -25,6 +25,7 @@ typedef struct {
uint16_t SleepTemp; // temp to drop to in sleep
uint8_t SleepTime; // minutes timeout to sleep
uint8_t minDCVoltageCells; // The voltage we cut out at for under voltage when powered by DC jack
uint8_t minVoltageCells; // Minimum allowed voltage per cell <3S - 3.0V (30)> <4S - 2.4V (24)> <...> (Minimum recommended 2.7V)
uint8_t QCIdealVoltage; // Desired QC3.0 voltage (9,12,20V)
uint8_t OrientationMode : 2; // Selects between Auto,Right and left handed layouts
uint8_t sensitivity : 4; // Sensitivity of accelerometer (5 bits)

View File

@@ -14,7 +14,7 @@ extern const bool HasFahrenheit;
extern const char *SettingsShortNames[29][2];
extern const char *SettingsDescriptions[29];
extern const char *SettingsMenuEntries[4];
extern const char *SettingsMenuEntries[5];
extern const char *SettingsCalibrationDone;
extern const char *SettingsCalibrationWarning;
@@ -76,6 +76,7 @@ extern const char *SymbolSeconds;
extern const char *SymbolWatts;
extern const char *SymbolVolts;
extern const char *SymbolDC;
extern const char *SymbolNA;
extern const char *SymbolCellCount;
extern const char *SymbolVersionNumber;