Commit 812f53020f5af661624074de76bad4a9b180a7fc

Con Kolivas 2014-02-09T09:49:33

ANU frequency is in MHz, not hex.

diff --git a/ASIC-README b/ASIC-README
index 0da4336..df5f178 100644
--- a/ASIC-README
+++ b/ASIC-README
@@ -144,7 +144,7 @@ sudo kextunload -b com.apple.driver.AppleUSBCDCACMData
 
 ASIC SPECIFIC COMMANDS
 
---anu-freq <arg>    Set AntminerU1 frequency in hex, range 150-500 (default: 200)
+--anu-freq <arg>    Set AntminerU1 frequency in MHz, range 150-500 (default: 200)
 --avalon-auto       Adjust avalon overclock frequency dynamically for best hashrate
 --avalon-cutoff <arg> Set avalon overheat cut off temperature (default: 60)
 --avalon-fan <arg> Set fanspeed percentage for avalon, single value or range (default: 20-100)
@@ -166,7 +166,7 @@ ASIC SPECIFIC COMMANDS
 
 ANTMINER U1 DEVICES
 
---anu-freq <arg>    Set AntminerU1 frequency in hex, range 150-500 (default: 200)
+--anu-freq <arg>    Set AntminerU1 frequency in MHz, range 150-500 (default: 200)
 
 By default, Antminer U1 devices run at a clockspeed of 200. This command allows
 you to specify a chosen frequency to attempt to run all ANU devices at and the
diff --git a/README b/README
index d5cc977..6063a79 100644
--- a/README
+++ b/README
@@ -138,7 +138,7 @@ Usage instructions:  Run "cgminer --help" to see options:
 Usage: cgminer [-DdElmpPQqUsTouOchnV]
 
 Options for both config file and command line:
---anu-freq <arg>    Set AntminerU1 frequency in hex, range 150-500 (default: 200)
+--anu-freq <arg>    Set AntminerU1 frequency in MHz, range 150-500 (default: 200)
 --api-allow <arg>   Allow API access only to the given list of [G:]IP[/Prefix] addresses[/subnets]
 --api-description <arg> Description placed in the API status header, default: cgminer version
 --api-groups <arg>  API one letter groups G:cmd:cmd[,P:cmd:*...] defining the cmds a groups can use
diff --git a/cgminer.c b/cgminer.c
index 11f7e99..9073284 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -1114,7 +1114,7 @@ static struct opt_table opt_config_table[] = {
 #ifdef USE_ICARUS
 	OPT_WITH_ARG("--anu-freq",
 		     set_int_150_to_500, &opt_show_intval, &opt_anu_freq,
-		     "Set AntminerU1 frequency in hex, range 150-500"),
+		     "Set AntminerU1 frequency in MHz, range 150-500"),
 #endif
 	OPT_WITH_ARG("--api-allow",
 		     set_api_allow, NULL, NULL,