Browse Source

Bugfix: modminer: Since RPC always includes the temperature, we don't need to add it specially

Luke Dashjr 13 years ago
parent
commit
f01ea523d9
1 changed files with 0 additions and 6 deletions
  1. 0 6
      driver-modminer.c

+ 0 - 6
driver-modminer.c

@@ -567,14 +567,8 @@ get_modminer_api_extra_device_status(struct cgpu_info*modminer)
 	struct api_data*root = NULL;
 	struct thr_info*thr = modminer->thr[0];
 	struct modminer_fpga_state *state = thr->cgpu_data;
-	float f;
 	double d;
 
-	if (state->temp)
-	{
-		f = state->temp;
-		root = api_add_temp(root, "Temperature", &f, true);
-	}
 	d = (double)state->dclk.freqM * 2 * 1000000.;
 	root = api_add_freq(root, "Frequency", &d, true);
 	d = (double)state->dclk.freqMaxM * 2 * 1000000.;