mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-30 08:24:26 +00:00
Fix for non-adl configuration files.
This commit is contained in:
parent
400cb21d8b
commit
e75c8ec8de
2
main.c
2
main.c
@ -3125,8 +3125,8 @@ static void write_config(FILE *fcfg)
|
|||||||
fputs("\",\n\"temp-target\" : \"", fcfg);
|
fputs("\",\n\"temp-target\" : \"", fcfg);
|
||||||
for(i = 0; i < nDevs; i++)
|
for(i = 0; i < nDevs; i++)
|
||||||
fprintf(fcfg, "%s%d", i > 0 ? "," : "", gpus[i].adl.targettemp);
|
fprintf(fcfg, "%s%d", i > 0 ? "," : "", gpus[i].adl.targettemp);
|
||||||
fputs("\",\n", fcfg);
|
|
||||||
#endif
|
#endif
|
||||||
|
fputs("\",\n", fcfg);
|
||||||
fprintf(fcfg, "\n\"algo\" : \"%s\"", algo_names[opt_algo]);
|
fprintf(fcfg, "\n\"algo\" : \"%s\"", algo_names[opt_algo]);
|
||||||
|
|
||||||
/* Simple bool and int options */
|
/* Simple bool and int options */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user