mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 23:08:07 +00:00
Setting the hysteresis is unlikely to be useful on the fly and doesn't belong in the per-gpu submenu.
This commit is contained in:
parent
0e1c291624
commit
b7d817812c
9
adl.c
9
adl.c
@ -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)
|
||||
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…
Reference in New Issue
Block a user