Browse Source

Bugfix: README: --temp-cutoff sets the maximum temperature before cutoff, not temperature that triggers cutoff

Luke Dashjr 12 years ago
parent
commit
92f72998e4
2 changed files with 3 additions and 3 deletions
  1. 1 1
      README
  2. 2 2
      miner.c

+ 1 - 1
README

@@ -165,7 +165,7 @@ Options for both config file and command line:
 --socks-proxy <arg> Set socks4 proxy (host:port) for all pools without a proxy specified
 --submit-threads    Minimum number of concurrent share submissions (default: 64)
 --syslog            Use system log for output messages (default: standard error)
---temp-cutoff <arg> Temperature where a device will be automatically disabled, one value or comma separated list (default: 95)
+--temp-cutoff <arg> Maximum temperature devices will be allowed to reach before being disabled, one value or comma separated list
 --temp-hysteresis <arg> Set how much the temperature can fluctuate outside limits when automanaging speeds (default: 3)
 --temp-target <arg> Target temperature when automatically managing fan and clock speeds
 --text-only|-T      Disable ncurses formatted screen output

+ 2 - 2
miner.c

@@ -1324,8 +1324,8 @@ static struct opt_table opt_config_table[] = {
 #endif
 #if defined(HAVE_ADL) || defined(USE_BITFORCE) || defined(USE_MODMINER)
 	OPT_WITH_ARG("--temp-cutoff",
-		     set_temp_cutoff, opt_show_intval, &opt_cutofftemp,
-		     "Temperature where a device will be automatically disabled, one value or comma separated list"),
+		     set_temp_cutoff, NULL, &opt_cutofftemp,
+		     "Maximum temperature devices will be allowed to reach before being disabled, one value or comma separated list"),
 #endif
 #if defined(HAVE_ADL) || defined(USE_MODMINER)
 	OPT_WITH_ARG("--temp-hysteresis",