From 998182fc353fc96ac64ef7999b19bc23582be839 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 7 Oct 2013 23:32:54 +1100 Subject: [PATCH] Add API output displaying USB cancellations. --- api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/api.c b/api.c index c70446df..6c2a1b93 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 }