]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhw.c
Fix typos
[proxmark3-svn] / client / cmdhw.c
index 44f878afe63dd6fde6ad06e10ec766fffa346703..33dc78aeb523c5731ec297e9432159336d774580 100644 (file)
@@ -431,12 +431,11 @@ int CmdStatus(const char *Cmd)
 {
        uint8_t speed_test_buffer[USB_CMD_DATA_SIZE];
        sample_buf = speed_test_buffer;
-       #define USB_SPEED_TEST_SIZE (1000*USB_CMD_DATA_SIZE)
 
        clearCommandBuffer();
-       UsbCommand c = {CMD_STATUS, {USB_SPEED_TEST_SIZE}};
+       UsbCommand c = {CMD_STATUS};
        SendCommand(&c);
-       if (!WaitForResponseTimeout(CMD_ACK,&c,1500)) {
+       if (!WaitForResponseTimeout(CMD_ACK,&c,1900)) {
                PrintAndLog("Status command failed. USB Speed Test timed out");
        }
        return 0;
Impressum, Datenschutz