diff --git a/armsrc/appmain.c b/armsrc/appmain.c index 392c697b4..c621c2923 100644 --- a/armsrc/appmain.c +++ b/armsrc/appmain.c @@ -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(); diff --git a/client/cmdhw.c b/client/cmdhw.c index 2073564d8..97c518231 100644 --- a/client/cmdhw.c +++ b/client/cmdhw.c @@ -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