luci-app-cpufreq: upthreshold/factor: depend on ondemand
This commit is contained in:
parent
c98bbb2644
commit
11cfa7b305
@ -49,6 +49,7 @@ upthreshold.rmempty = false
|
||||
upthreshold.description = translate("Kernel make a decision on whether it should increase the frequency (%)")
|
||||
upthreshold.placeholder = 50
|
||||
upthreshold.default = 50
|
||||
upthreshold:depends("governor", "ondemand")
|
||||
|
||||
factor = s:option(Value, "factor", translate("CPU Switching Sampling rate"))
|
||||
factor.datatype="range(1,100000)"
|
||||
@ -56,5 +57,6 @@ factor.rmempty = false
|
||||
factor.description = translate("The sampling rate determines how frequently the governor checks to tune the CPU (ms)")
|
||||
factor.placeholder = 10
|
||||
factor.default = 10
|
||||
factor:depends("governor", "ondemand")
|
||||
|
||||
return mp
|
||||
|
||||
Loading…
Reference in New Issue
Block a user