Browse Source

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

Con Kolivas 14 years ago
parent
commit
9752704ebe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.c

+ 1 - 1
main.c

@@ -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";