Backing out targetable flags due to segfault on Linux

https://github.com/Hamlib/Hamlib/issues/431
pull/435/head
Michael Black W9MDB 2020-11-01 15:35:17 -06:00
rodzic 5721db70be
commit fd9e5d841b
3 zmienionych plików z 8 dodań i 7 usunięć

Wyświetl plik

@ -817,8 +817,8 @@ icom_rig_open(RIG *rig)
// 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;
//rig->caps->targetable_vfo |= RIG_TARGETABLE_PTT | RIG_TARGETABLE_RITXIT |
// RIG_TARGETABLE_MEM | RIG_TARGETABLE_BANK;
return RIG_OK;
}

Wyświetl plik

@ -941,9 +941,9 @@ int kenwood_open(RIG *rig)
// 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
rig->caps->targetable_vfo |= RIG_TARGETABLE_PTT | RIG_TARGETABLE_RITXIT |
RIG_TARGETABLE_MEM | RIG_TARGETABLE_BANK;
// 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;
}

Wyświetl plik

@ -533,8 +533,9 @@ int newcat_open(RIG *rig)
// 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
rig->caps->targetable_vfo |= RIG_TARGETABLE_PTT | RIG_TARGETABLE_RITXIT |
RIG_TARGETABLE_MEM | RIG_TARGETABLE_BANK;
// 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;
}