1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 12:34:27 +00:00

Add API output displaying USB cancellations.

This commit is contained in:
Con Kolivas 2013-10-07 23:32:54 +11:00
parent 585d4af4e6
commit 998182fc35

1
api.c
View File

@ -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
}