style
This commit is contained in:
@@ -376,7 +376,7 @@ void printUSBSpeed(void) {
|
||||
uint32_t bytes_transferred = 0;
|
||||
|
||||
LED_B_ON();
|
||||
|
||||
|
||||
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);
|
||||
end_time = GetTickCount();
|
||||
|
||||
@@ -448,7 +448,7 @@ static int CmdPingNG(const char *Cmd) {
|
||||
UsbReplyNG resp;
|
||||
uint8_t data[USB_DATANG_SIZE] = {0};
|
||||
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;
|
||||
SendCommandNG(cmd, data, len);
|
||||
if (WaitForResponseTimeout(CMD_PING, &resp, 1000)) {
|
||||
|
||||
Reference in New Issue
Block a user