luci-app-cpufreq: fix governor setting

This commit is contained in:
lean 2021-06-19 22:25:24 +08:00
parent 363a33eeca
commit 607ded4bbd
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ LUCI_TITLE:=LuCI for CPU Freq Setting
LUCI_DEPENDS:=@arm
PKG_NAME:=luci-app-cpufreq
PKG_VERSION:=1
PKG_RELEASE:=5
PKG_RELEASE:=6
include $(TOPDIR)/feeds/luci/luci.mk

View File

@ -30,7 +30,7 @@ s.anonymouse = true
governor = s:option(ListValue, "governor", translate("CPU Scaling Governor"))
for _, e in ipairs(governor_array) do
if e ~= "" then governor:value(translate(e,string.upper(e))) end
if e ~= "" then governor:value(e, translate(e,string.upper(e))) end
end
minfreq = s:option(ListValue, "minifreq", translate("Min Idle CPU Freq"))