mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 10:04:33 +00:00
BFL USB api.c usbstats
This commit is contained in:
parent
03c2cabab2
commit
07db1ed687
4
api.c
4
api.c
@ -3120,7 +3120,7 @@ static void usbstats(struct io_data *io_data, __maybe_unused SOCKETTYPE c, __may
|
|||||||
{
|
{
|
||||||
struct api_data *root = NULL;
|
struct api_data *root = NULL;
|
||||||
|
|
||||||
#ifdef USE_MODMINER
|
#if defined(USE_MODMINER) || defined(USE_BITFORCE)
|
||||||
char buf[TMPBUFSIZ];
|
char buf[TMPBUFSIZ];
|
||||||
bool io_open = false;
|
bool io_open = false;
|
||||||
int count = 0;
|
int count = 0;
|
||||||
@ -3133,7 +3133,7 @@ static void usbstats(struct io_data *io_data, __maybe_unused SOCKETTYPE c, __may
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_MODMINER
|
#if defined(USE_MODMINER) || defined(USE_BITFORCE)
|
||||||
|
|
||||||
message(io_data, MSG_USBSTA, 0, NULL, isjson);
|
message(io_data, MSG_USBSTA, 0, NULL, isjson);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user