Browse Source

Add API output displaying USB cancellations.

Con Kolivas 12 years ago
parent
commit
998182fc35
1 changed files with 1 additions and 0 deletions
  1. 1 0
      api.c

+ 1 - 0
api.c

@@ -3148,6 +3148,7 @@ static int itemstats(struct io_data *io_data, int i, char *id, struct cgminer_st
 		}
 
 		root = api_add_string(root, "USB tmo", details, true);
+		root = api_add_int(root, "USB cancellations", &cgpu->usb_cancels, false);
 #endif
 	}