diff --git a/driver-icarus.c b/driver-icarus.c index c9dc041f..0b76129a 100644 --- a/driver-icarus.c +++ b/driver-icarus.c @@ -235,9 +235,9 @@ static void icarus_initialise(struct cgpu_info *icarus, __maybe_unused int baud) switch (icarus->usbdev->ident) { case IDENT_BLT: case IDENT_LLT: - // Reset + // Latency transfer(icarus, FTDI_TYPE_OUT, FTDI_REQUEST_LATENCY, FTDI_VALUE_LATENCY, - icarus->usbdev->found->interface, C_RESET); + icarus->usbdev->found->interface, C_LATENCY); if (icarus->usbinfo.nodev) return; diff --git a/usbutils.c b/usbutils.c index 96f27b0d..ae34eb94 100644 --- a/usbutils.c +++ b/usbutils.c @@ -408,6 +408,7 @@ 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"; +static const char *C_LATENCY_S = "SetLatency"; #ifdef EOL #undef EOL @@ -877,6 +878,7 @@ static void cgusb_check_init() usb_commands[C_QUEFLUSHREPLY] = C_QUEFLUSHREPLY_S; usb_commands[C_REQUESTVOLTS] = C_REQUESTVOLTS_S; usb_commands[C_SENDTESTWORK] = C_SENDTESTWORK_S; + usb_commands[C_LATENCY] = C_LATENCY_S; stats_initialised = true; } diff --git a/usbutils.h b/usbutils.h index 5e50c72f..8ea18369 100644 --- a/usbutils.h +++ b/usbutils.h @@ -171,6 +171,7 @@ enum usb_cmds { C_QUEFLUSHREPLY, C_REQUESTVOLTS, C_SENDTESTWORK, + C_LATENCY, C_MAX };