Slight rework of hw tune

This commit is contained in:
Philippe Teuwen 2019-05-14 08:29:24 +02:00
commit 42d025d01a
3 changed files with 2 additions and 3 deletions

View file

@ -1532,7 +1532,7 @@ int CmdTuneSamples(const char *Cmd) {
clearCommandBuffer();
SendCommandNG(CMD_MEASURE_ANTENNA_TUNING, NULL, 0);
PacketResponseNG resp;
while (!WaitForResponseTimeout(CMD_MEASURED_ANTENNA_TUNING, &resp, 2000)) {
while (!WaitForResponseTimeout(CMD_MEASURE_ANTENNA_TUNING, &resp, 2000)) {
timeout++;
printf(".");
fflush(stdout);