Second pass
This commit is contained in:
@@ -46,7 +46,7 @@ static const SettingConstants settingsConstants[(int)SettingsOptions::SettingsOp
|
||||
{0, 16, 1, 0}, // SleepTime
|
||||
{0, 5, 1, 0}, // MinDCVoltageCells
|
||||
{24, 38, 1, 31}, // MinVoltageCells
|
||||
{0, 0, 0, 0}, // QCIdealVoltage
|
||||
{0, QC_SETTINGS_MAX, 1, 0}, // QCIdealVoltage
|
||||
{0, 0, 0, 0}, // OrientationMode
|
||||
{0, 10, 0, 0}, // Sensitivity
|
||||
{0, 1, 1, 1}, // AnimationLoop
|
||||
|
||||
@@ -341,16 +341,7 @@ static bool settings_displayInputMinVRange(void) {
|
||||
}
|
||||
#endif
|
||||
#ifdef POW_QC
|
||||
static bool settings_setQCInputV(void) {
|
||||
#ifdef POW_QC_20V
|
||||
systemSettings.QCIdealVoltage = (systemSettings.QCIdealVoltage + 1) % 3;
|
||||
|
||||
return systemSettings.QCIdealVoltage == 2;
|
||||
#else
|
||||
systemSettings.QCIdealVoltage = (systemSettings.QCIdealVoltage + 1) % 2;
|
||||
return systemSettings.QCIdealVoltage == 1;
|
||||
#endif
|
||||
}
|
||||
static bool settings_setQCInputV(void) { return nextSettingValue(SettingsOptions::QCIdealVoltage); }
|
||||
|
||||
static bool settings_displayQCInputV(void) {
|
||||
printShortDescription(SettingsItemIndex::QCMaxVoltage, 5);
|
||||
|
||||
Reference in New Issue
Block a user