From 05a385ccfcdc36c7aa1085a684084a55222d7051 Mon Sep 17 00:00:00 2001 From: Kano Date: Fri, 17 May 2013 13:49:41 +1000 Subject: [PATCH] usbutils new command for icarus --- usbutils.c | 2 ++ usbutils.h | 1 + 2 files changed, 3 insertions(+) diff --git a/usbutils.c b/usbutils.c index 4d51dcf8..a2663d4c 100644 --- a/usbutils.c +++ b/usbutils.c @@ -407,6 +407,7 @@ static const char *C_QUEJOBSTATUS_S = "QueJobStatus"; static const char *C_QUEFLUSH_S = "QueFlush"; static const char *C_QUEFLUSHREPLY_S = "QueFlushReply"; static const char *C_REQUESTVOLTS_S = "RequestVolts"; +static const char *C_SENDTESTWORK_S = "SendTestWork"; #ifdef EOL #undef EOL @@ -875,6 +876,7 @@ static void cgusb_check_init() usb_commands[C_QUEFLUSH] = C_QUEFLUSH_S; usb_commands[C_QUEFLUSHREPLY] = C_QUEFLUSHREPLY_S; usb_commands[C_REQUESTVOLTS] = C_REQUESTVOLTS_S; + usb_commands[C_SENDTESTWORK] = C_SENDTESTWORK_S; stats_initialised = true; } diff --git a/usbutils.h b/usbutils.h index ed82ac62..74c166e3 100644 --- a/usbutils.h +++ b/usbutils.h @@ -160,6 +160,7 @@ enum usb_cmds { C_QUEFLUSH, C_QUEFLUSHREPLY, C_REQUESTVOLTS, + C_SENDTESTWORK, C_MAX };