mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
usbutils more stats for bflsc
This commit is contained in:
parent
8959f8d0ae
commit
b7b5b9ded2
@ -294,6 +294,8 @@ static const char *C_REQUESTQUEJOB_S = "RequestQueJob";
|
|||||||
static const char *C_REQUESTQUEJOBSTATUS_S = "RequestQueJobStatus";
|
static const char *C_REQUESTQUEJOBSTATUS_S = "RequestQueJobStatus";
|
||||||
static const char *C_QUEJOB_S = "QueJob";
|
static const char *C_QUEJOB_S = "QueJob";
|
||||||
static const char *C_QUEJOBSTATUS_S = "QueJobStatus";
|
static const char *C_QUEJOBSTATUS_S = "QueJobStatus";
|
||||||
|
static const char *C_QUEFLUSH_S = "QueFlush";
|
||||||
|
static const char *C_QUEFLUSHREPLY_S = "QueFlushReply";
|
||||||
|
|
||||||
#ifdef EOL
|
#ifdef EOL
|
||||||
#undef EOL
|
#undef EOL
|
||||||
@ -759,6 +761,8 @@ static void cgusb_check_init()
|
|||||||
usb_commands[C_REQUESTQUEJOBSTATUS] = C_REQUESTQUEJOBSTATUS_S;
|
usb_commands[C_REQUESTQUEJOBSTATUS] = C_REQUESTQUEJOBSTATUS_S;
|
||||||
usb_commands[C_QUEJOB] = C_QUEJOB_S;
|
usb_commands[C_QUEJOB] = C_QUEJOB_S;
|
||||||
usb_commands[C_QUEJOBSTATUS] = C_QUEJOBSTATUS_S;
|
usb_commands[C_QUEJOBSTATUS] = C_QUEJOBSTATUS_S;
|
||||||
|
usb_commands[C_QUEFLUSH] = C_QUEFLUSH_S;
|
||||||
|
usb_commands[C_QUEFLUSHREPLY] = C_QUEFLUSHREPLY_S;
|
||||||
|
|
||||||
stats_initialised = true;
|
stats_initialised = true;
|
||||||
}
|
}
|
||||||
|
@ -131,6 +131,8 @@ enum usb_cmds {
|
|||||||
C_REQUESTQUEJOBSTATUS,
|
C_REQUESTQUEJOBSTATUS,
|
||||||
C_QUEJOB,
|
C_QUEJOB,
|
||||||
C_QUEJOBSTATUS,
|
C_QUEJOBSTATUS,
|
||||||
|
C_QUEFLUSH,
|
||||||
|
C_QUEFLUSHREPLY,
|
||||||
C_MAX
|
C_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user