hocclk: 800mV minimum display voltage
This commit is contained in:
@@ -603,7 +603,7 @@ static inline uint64_t hocclkValidConfigValue(HocClkConfigValue val, uint64_t in
|
|||||||
case HocClkConfigValue_BatteryChargeCurrent:
|
case HocClkConfigValue_BatteryChargeCurrent:
|
||||||
return ((input >= 1024) && (input <= 3072)) || !input;
|
return ((input >= 1024) && (input <= 3072)) || !input;
|
||||||
case HocClkConfigValue_DisplayVoltage:
|
case HocClkConfigValue_DisplayVoltage:
|
||||||
return ((input >= 900) && (input <= 1325));
|
return ((input >= 800) && (input <= 1325));
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -731,7 +731,7 @@ protected:
|
|||||||
addConfigButton(
|
addConfigButton(
|
||||||
HocClkConfigValue_DisplayVoltage,
|
HocClkConfigValue_DisplayVoltage,
|
||||||
"Display Voltage",
|
"Display Voltage",
|
||||||
ValueRange(900, 1200, 25, " mV", 1),
|
ValueRange(800, 1200, 25, " mV", 1),
|
||||||
"Display Voltage",
|
"Display Voltage",
|
||||||
&thresholdsDisabled,
|
&thresholdsDisabled,
|
||||||
{},
|
{},
|
||||||
|
|||||||
Reference in New Issue
Block a user