diff options
| author | Christoph Berg <myon@debian.org> | 2020-06-02 20:44:28 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2020-06-02 20:44:28 +0200 |
| commit | 5c05cfa3903d8a71d77f4b3dc1d2d0c7a043c6d6 (patch) | |
| tree | b6617065dc8e840bccb26a72d22d945353a8f064 /Transceiver/HamlibTransceiver.cpp | |
| parent | 458b033b8ae7818d50e80f51b12c0c43bbd0d3e2 (diff) | |
New upstream version 2.2.0+repackupstream/2.2.0+repack
Diffstat (limited to 'Transceiver/HamlibTransceiver.cpp')
| -rw-r--r-- | Transceiver/HamlibTransceiver.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Transceiver/HamlibTransceiver.cpp b/Transceiver/HamlibTransceiver.cpp index dd468eb8..cf76032d 100644 --- a/Transceiver/HamlibTransceiver.cpp +++ b/Transceiver/HamlibTransceiver.cpp @@ -374,9 +374,11 @@ HamlibTransceiver::HamlibTransceiver (int model_number, TransceiverFactory::Para case TransceiverFactory::PTT_method_DTR: case TransceiverFactory::PTT_method_RTS: - if (!params.ptt_port.isEmpty () + if (params.ptt_port.size () && params.ptt_port != "None" - && (is_dummy_ || params.ptt_port != params.serial_port)) + && (is_dummy_ + || RIG_PORT_SERIAL != rig_->caps->port_type + || params.ptt_port != params.serial_port)) { #if defined (WIN32) set_conf ("ptt_pathname", ("\\\\.\\" + params.ptt_port).toLatin1 ().data ()); |
