kopia lustrzana https://github.com/Hamlib/Hamlib
Convert Icom 3-byte frequency to Hz from KHz
https://github.com/Hamlib/Hamlib/issues/1200pull/1215/head
rodzic
9f0bd7b310
commit
4c09344f32
|
@ -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)
|
||||
|
|
Ładowanie…
Reference in New Issue