Fix vsllink bulk out endpoint parsing.
authorZachary T Welch <zw@superlucidity.net>
Sat, 7 Nov 2009 21:36:47 +0000 (13:36 -0800)
committerZachary T Welch <zw@superlucidity.net>
Sat, 7 Nov 2009 21:36:47 +0000 (13:36 -0800)
src/jtag/vsllink.c

index 1f1b867..3c1a046 100644 (file)
@@ -1445,7 +1445,7 @@ static int vsllink_handle_usb_bulkout_command(struct command_context_s *cmd_ctx,
                return ERROR_OK;
        }
 
-       COMMAND_PARSE_NUMBER(u8, args[0], vsllink_usb_bulkin);
+       COMMAND_PARSE_NUMBER(u8, args[0], vsllink_usb_bulkout);
 
        vsllink_usb_bulkout &= ~0x80;