Commit 998182fc353fc96ac64ef7999b19bc23582be839

Con Kolivas 2013-10-07T23:32:54

Add API output displaying USB cancellations.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/api.c b/api.c
index c70446d..6c2a1b9 100644
--- a/api.c
+++ b/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
 	}