mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-27 06:38:44 -05:00
Do not attempt to use Hamlib rig_get_mode() if it will not work
This allows low CAT functionality SDRs like the AE9RB Peaberry v2 to be controlled. Merged from ^/branches/wsjtx. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx-1.6@6224 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
58e336e69e
commit
1df7b8a097
@ -168,6 +168,7 @@ HamlibTransceiver::HamlibTransceiver (TransceiverFactory::PTTMethod ptt_type, QS
|
||||
, reversed_ {false}
|
||||
, mode_query_works_ {true}
|
||||
, split_query_works_ {true}
|
||||
, tickle_hamlib_ {false}
|
||||
, get_vfo_works_ {true}
|
||||
{
|
||||
if (!rig_)
|
||||
@ -214,8 +215,8 @@ HamlibTransceiver::HamlibTransceiver (int model_number, TransceiverFactory::Para
|
||||
, back_ptt_port_ {TransceiverFactory::TX_audio_source_rear == params.audio_source}
|
||||
, is_dummy_ {RIG_MODEL_DUMMY == model_number}
|
||||
, reversed_ {false}
|
||||
, mode_query_works_ {true}
|
||||
, split_query_works_ {true}
|
||||
, mode_query_works_ {rig_ && rig_->caps->get_mode}
|
||||
, split_query_works_ {rig_ && rig_->caps->get_split_vfo}
|
||||
, tickle_hamlib_ {false}
|
||||
, get_vfo_works_ {true}
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user