Update logic to suppress bogus set freq error

pull/608/head
Michael Black W9MDB 2021-03-08 16:44:29 -06:00
rodzic 491bf07c0d
commit 0ad32a4f8a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1616,7 +1616,7 @@ int HAMLIB_API rig_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
}
while (tfreq != freq && retry-- > 0);
if (retry == 0)
if (retry == 0 && tfreq != freq)
{
rig_debug(RIG_DEBUG_ERR, "%s: unable to set frequency!!, asked for %.0f, got %.0f\n", __func__, freq, tfreq);
}