1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-05 03:24:26 +00:00

We should be passing a float for the remainder of the vddc values.

This commit is contained in:
Con Kolivas 2011-09-08 10:57:50 +10:00
parent 7ea7f5f324
commit 9752704ebe

2
main.c
View File

@ -1241,7 +1241,7 @@ static char *set_gpu_vddc(char *arg)
gpus[device++].gpu_vddc = val;
while ((nextptr = strtok(NULL, ",")) != NULL) {
val = atoi(nextptr);
val = atof(nextptr);
if (val <= 0 || val >= 9999)
return "Invalid value passed to set_gpu_vddc";