Browse Source

Setting the hysteresis is unlikely to be useful on the fly and doesn't belong in the per-gpu submenu.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
b7d817812c
  1. 9
      adl.c

9
adl.c

@ -951,8 +951,7 @@ void change_autosettings(int gpu) @@ -951,8 +951,7 @@ void change_autosettings(int gpu)
wlogprint("Target temperature: %d\n", ga->targettemp);
wlogprint("Overheat temperature: %d\n", ga->overtemp);
wlogprint("Cutoff temperature: %d\n", ga->cutofftemp);
wlogprint("Hysteresis differece: %d\n", opt_hysteresis);
wlogprint("Toggle [F]an auto [G]PU auto\nChange [T]arget [O]verheat [C]utoff [H]ysteresis\n");
wlogprint("Toggle [F]an auto [G]PU auto\nChange [T]arget [O]verheat [C]utoff\n");
wlogprint("Or press any other key to continue\n");
input = getch();
if (!strncasecmp(&input, "f", 1)) {
@ -989,12 +988,6 @@ void change_autosettings(int gpu) @@ -989,12 +988,6 @@ void change_autosettings(int gpu)
wlogprint("Invalid temperature");
else
ga->cutofftemp = val;
} else if (!strncasecmp(&input, "h", 1)) {
val = curses_int("Enter hysteresis temperature difference (1-10)");
if (val < 1 || val > 10)
wlogprint("Invalid value");
else
opt_hysteresis = val;
}
}

Loading…
Cancel
Save