ft817: adding delay before next retry after returning from tx to rx

pull/56/head
Eriks Dobelis 2018-10-28 20:50:39 +02:00
rodzic 1ecadcc594
commit 1e849a6ba7
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -885,6 +885,10 @@ int ft817_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
ptt_response = -1;
}
if (ptt_response != ptt) {
usleep(100000l); // Before next try wait for 0.1 seconds. Helps with slower rigs cloning FT817 protocol (e.g. MCHF)
}
} while (ptt_response != ptt && retries-- > 0);
if (retries >=0) {