kopia lustrzana https://github.com/Hamlib/Hamlib
Remove bad targetable code from rigs
https://github.com/Hamlib/Hamlib/issues/430 https://github.com/Hamlib/Hamlib/issues/414pull/435/head
rodzic
335a75518c
commit
51b4e0966c
|
@ -814,11 +814,6 @@ icom_rig_open(RIG *rig)
|
|||
#if 0 // do not do this here -- needs to be done when ranges are requested instead as this is very slow
|
||||
icom_get_freq_range(rig); // try get to get rig range capability dyamically
|
||||
#endif
|
||||
// All Icom rigs as of 20201031 do not need VFO switch for PTT and RITXIT
|
||||
// They are non-VFO specific commands
|
||||
// If they ever become VFO specific implement in the backend
|
||||
//rig->caps->targetable_vfo |= RIG_TARGETABLE_PTT | RIG_TARGETABLE_RITXIT |
|
||||
// RIG_TARGETABLE_MEM | RIG_TARGETABLE_BANK;
|
||||
|
||||
return RIG_OK;
|
||||
}
|
||||
|
|
|
@ -938,12 +938,6 @@ int kenwood_open(RIG *rig)
|
|||
// mismatched IDs can still be tested
|
||||
rig->state.rigport.retry = retry_save;
|
||||
|
||||
// All Kenwood rigs as of 20201031 do not need VFO switch for PTT and RITXIT
|
||||
// They are non-VFO specific commands
|
||||
// If they ever become VFO specific implement in the backend
|
||||
// newcat.c version is getting segfault here -- read only?
|
||||
//rig->caps->targetable_vfo |= RIG_TARGETABLE_PTT | RIG_TARGETABLE_RITXIT |
|
||||
// RIG_TARGETABLE_MEM | RIG_TARGETABLE_BANK;
|
||||
return RIG_OK;
|
||||
}
|
||||
|
||||
|
|
|
@ -529,14 +529,6 @@ int newcat_open(RIG *rig)
|
|||
/* Initialize rig_id in case any subsequent commands need it */
|
||||
(void)newcat_get_rigid(rig);
|
||||
|
||||
// All Yaeus rigs as of 20201031 do not need VFO switch for PTT and RITXIT
|
||||
// They are non-VFO specific commands
|
||||
// A couple of rigs do have vfo-specific in the backends
|
||||
// If they ever become VFO specific implement in the backend
|
||||
// this is getting a segfault on Linux -- read only??
|
||||
//rig->caps->targetable_vfo |= RIG_TARGETABLE_PTT | RIG_TARGETABLE_RITXIT |
|
||||
// RIG_TARGETABLE_MEM | RIG_TARGETABLE_BANK;
|
||||
|
||||
return RIG_OK;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue