kopia lustrzana https://github.com/Hamlib/Hamlib
In icom.c fix reading VFOB width when 0 and set to VFOA width
https://github.com/Hamlib/Hamlib/issues/665 https://github.com/Hamlib/Hamlib/issues/654pull/680/head
rodzic
7e7e2cb1ac
commit
cd82a2c008
|
@ -2137,6 +2137,7 @@ int icom_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width)
|
|||
rig_set_vfo(rig, RIG_VFO_B);
|
||||
retval = icom_get_dsp_flt(rig, *mode);
|
||||
*width = retval;
|
||||
if (*width == 0) *width = rig->state.cache.widthMainA; // we'll use VFOA's width
|
||||
// dont' really care about cache time here
|
||||
// this is just to prevent vfo swapping while getting width
|
||||
rig->state.cache.widthMainB = retval;
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#define BACKEND_VER "20210408"
|
||||
#define BACKEND_VER "20210418"
|
||||
|
||||
/*
|
||||
* defines used by comp_cal_str in rig.c
|
||||
|
|
Ładowanie…
Reference in New Issue