Skip to content

Commit

Permalink
Merge pull request #24 from hbhdwxc/cgminer-webui-avalon8
Browse files Browse the repository at this point in the history
Add support for normal/balance/low power mode select
  • Loading branch information
binsgit committed Apr 4, 2019
2 parents 2c8203b + 18be251 commit b9dea8e
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -51,6 +51,13 @@ if (boardinfo.model == "Canaan Z Controller") then
end

api_allow = conf:option(Value, "api_allow", translate("API Allow(Default: W:127.0.0.1)"))

power_mode = conf:option(ListValue, "power_mode", translate("Power Mode(Default: HighPerformance, Support: A8)"))
power_mode.default = "high"
power_mode:value("high", translate("HighPerformance"))
power_mode:value("balance", translate("Balanced"))
power_mode:value("low", translate("LowPower"))

more_options = conf:option(Value, "more_options", translate("More Options"))

return m

0 comments on commit b9dea8e

Please sign in to comment.