kopia lustrzana https://github.com/Hamlib/Hamlib
Remove override of PKTUSB mode for Icom rigs -- don't think we need this
Was causing mode toggling on IC7300 during PTT transitions in JTDXpull/777/head
rodzic
f552e3f0e8
commit
996dbbfa1a
|
@ -1809,6 +1809,7 @@ int icom_set_mode_with_data(RIG *rig, vfo_t vfo, rmode_t mode,
|
|||
|
||||
switch (mode)
|
||||
{
|
||||
#if 0 // don't think this is needed anymore -- W9MDB 20210828
|
||||
case RIG_MODE_PKTUSB:
|
||||
// xFE xFE x6E xE0 x1A x06 x01 xFD switches mod input from MIC to ACC
|
||||
// This apparently works for IC-756ProIII but nobody has asked for it yet
|
||||
|
@ -1826,6 +1827,7 @@ int icom_set_mode_with_data(RIG *rig, vfo_t vfo, rmode_t mode,
|
|||
case RIG_MODE_PKTAM:
|
||||
icom_mode = RIG_MODE_AM;
|
||||
break;
|
||||
#endif
|
||||
|
||||
default:
|
||||
icom_mode = mode;
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#define BACKEND_VER "20210824"
|
||||
#define BACKEND_VER "20210828"
|
||||
|
||||
#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