kopia lustrzana https://github.com/Hamlib/Hamlib
For Icom rigs like IC910H and IC9700 Main/Sub are only used for split and satmode
Otherwise VFOA/B can be used on either Main or Sub VFOs So if Main is requested and not in split/satmode then VFOA is assumed -- this case was fixed And if Sub is requested and not in split/satmode then VFOB is assumed -- this was already true https://github.com/Hamlib/Hamlib/issues/832pull/846/head
rodzic
5e90774728
commit
c83949ae6d
|
@ -2702,6 +2702,8 @@ int icom_set_vfo(RIG *rig, vfo_t vfo)
|
|||
|
||||
case RIG_VFO_MAIN:
|
||||
icvfo = S_MAIN;
|
||||
// If not split or satmode then we must want VFOA
|
||||
if (VFO_HAS_MAIN_SUB_A_B_ONLY && !priv->split_on && !rig->state.cache.satmode) { icvfo = S_VFOA; }
|
||||
break;
|
||||
|
||||
case RIG_VFO_SUB:
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#define BACKEND_VER "20211015"
|
||||
#define BACKEND_VER "20211020"
|
||||
|
||||
#define ICOM_IS_SECONDARY_VFO(vfo) ((vfo) & (RIG_VFO_B | RIG_VFO_SUB | RIG_VFO_SUB_B | RIG_VFO_MAIN_B))
|
||||
#define ICOM_GET_VFO_NUMBER(vfo) (ICOM_IS_SECONDARY_VFO(vfo) ? 0x01 : 0x00)
|
||||
|
|
Ładowanie…
Reference in New Issue