mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 20:44:19 +00:00
usbutils new command for icarus
This commit is contained in:
parent
e89c921ab0
commit
05a385ccfc
@ -407,6 +407,7 @@ static const char *C_QUEJOBSTATUS_S = "QueJobStatus";
|
|||||||
static const char *C_QUEFLUSH_S = "QueFlush";
|
static const char *C_QUEFLUSH_S = "QueFlush";
|
||||||
static const char *C_QUEFLUSHREPLY_S = "QueFlushReply";
|
static const char *C_QUEFLUSHREPLY_S = "QueFlushReply";
|
||||||
static const char *C_REQUESTVOLTS_S = "RequestVolts";
|
static const char *C_REQUESTVOLTS_S = "RequestVolts";
|
||||||
|
static const char *C_SENDTESTWORK_S = "SendTestWork";
|
||||||
|
|
||||||
#ifdef EOL
|
#ifdef EOL
|
||||||
#undef EOL
|
#undef EOL
|
||||||
@ -875,6 +876,7 @@ static void cgusb_check_init()
|
|||||||
usb_commands[C_QUEFLUSH] = C_QUEFLUSH_S;
|
usb_commands[C_QUEFLUSH] = C_QUEFLUSH_S;
|
||||||
usb_commands[C_QUEFLUSHREPLY] = C_QUEFLUSHREPLY_S;
|
usb_commands[C_QUEFLUSHREPLY] = C_QUEFLUSHREPLY_S;
|
||||||
usb_commands[C_REQUESTVOLTS] = C_REQUESTVOLTS_S;
|
usb_commands[C_REQUESTVOLTS] = C_REQUESTVOLTS_S;
|
||||||
|
usb_commands[C_SENDTESTWORK] = C_SENDTESTWORK_S;
|
||||||
|
|
||||||
stats_initialised = true;
|
stats_initialised = true;
|
||||||
}
|
}
|
||||||
|
@ -160,6 +160,7 @@ enum usb_cmds {
|
|||||||
C_QUEFLUSH,
|
C_QUEFLUSH,
|
||||||
C_QUEFLUSHREPLY,
|
C_QUEFLUSHREPLY,
|
||||||
C_REQUESTVOLTS,
|
C_REQUESTVOLTS,
|
||||||
|
C_SENDTESTWORK,
|
||||||
C_MAX
|
C_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user