mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +08:00
revert
This commit is contained in:
parent
597019b98a
commit
e04e2d6fa7
1 changed files with 2 additions and 3 deletions
|
@ -376,8 +376,9 @@ void printUSBSpeed(void) {
|
|||
uint32_t bytes_transferred = 0;
|
||||
|
||||
LED_B_ON();
|
||||
|
||||
while (end_time < start_time + USB_SPEED_TEST_MIN_TIME) {
|
||||
res = cmd_send(CMD_DOWNLOADED_RAW_ADC_SAMPLES_125K, 0, USB_CMD_DATA_SIZE, 0, test_data, USB_CMD_DATA_SIZE);
|
||||
cmd_send(CMD_DOWNLOADED_RAW_ADC_SAMPLES_125K, 0, USB_CMD_DATA_SIZE, 0, test_data, USB_CMD_DATA_SIZE);
|
||||
end_time = GetTickCount();
|
||||
bytes_transferred += USB_CMD_DATA_SIZE;
|
||||
}
|
||||
|
@ -386,8 +387,6 @@ void printUSBSpeed(void) {
|
|||
Dbprintf(" Time elapsed............%dms", end_time - start_time);
|
||||
Dbprintf(" Bytes transferred.......%d", bytes_transferred);
|
||||
Dbprintf(" USB Transfer Speed PM3 -> Client = %d Bytes/s", 1000 * bytes_transferred / (end_time - start_time));
|
||||
if ( res == 0 )
|
||||
Dbprintf(" Sending failed..........");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue