Convert Icom 3-byte frequency to Hz from KHz

https://github.com/Hamlib/Hamlib/issues/1200
pull/1215/head
Mike Black W9MDB 2023-01-02 23:04:54 -06:00
rodzic 9f0bd7b310
commit 4c09344f32
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -1721,6 +1721,8 @@ int icom_get_freq(RIG *rig, vfo_t vfo, freq_t *freq)
*/
*freq = from_bcd(freqbuf + freqbuf_offset, freq_len * 2);
if (freq_len == 3) *freq *= 1000; // 3-byte freq is in KHz so convert to Hz
if (vfo == RIG_VFO_MEM && civ_731_mode) { priv->civ_731_mode = 1; }
switch (vfo)