mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
style
This commit is contained in:
parent
7cbcf8163c
commit
64eb93c9c4
2 changed files with 2 additions and 2 deletions
|
@ -376,7 +376,7 @@ void printUSBSpeed(void) {
|
||||||
uint32_t bytes_transferred = 0;
|
uint32_t bytes_transferred = 0;
|
||||||
|
|
||||||
LED_B_ON();
|
LED_B_ON();
|
||||||
|
|
||||||
while (end_time < start_time + USB_SPEED_TEST_MIN_TIME) {
|
while (end_time < start_time + USB_SPEED_TEST_MIN_TIME) {
|
||||||
reply_ng(CMD_DOWNLOADED_RAW_ADC_SAMPLES_125K, PM3_SUCCESS, test_data, USB_DATANG_SIZE);
|
reply_ng(CMD_DOWNLOADED_RAW_ADC_SAMPLES_125K, PM3_SUCCESS, test_data, USB_DATANG_SIZE);
|
||||||
end_time = GetTickCount();
|
end_time = GetTickCount();
|
||||||
|
|
|
@ -448,7 +448,7 @@ static int CmdPingNG(const char *Cmd) {
|
||||||
UsbReplyNG resp;
|
UsbReplyNG resp;
|
||||||
uint8_t data[USB_DATANG_SIZE] = {0};
|
uint8_t data[USB_DATANG_SIZE] = {0};
|
||||||
uint16_t cmd = CMD_PING;
|
uint16_t cmd = CMD_PING;
|
||||||
for (uint16_t i=0; i<len; i++)
|
for (uint16_t i = 0; i < len; i++)
|
||||||
data[i] = i & 0xFF;
|
data[i] = i & 0xFF;
|
||||||
SendCommandNG(cmd, data, len);
|
SendCommandNG(cmd, data, len);
|
||||||
if (WaitForResponseTimeout(CMD_PING, &resp, 1000)) {
|
if (WaitForResponseTimeout(CMD_PING, &resp, 1000)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue