diff options
| author | Christoph Berg <myon@debian.org> | 2020-06-02 20:44:45 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2020-06-02 20:44:45 +0200 |
| commit | 2633e05ff7d54e94d5e21877dcd6469140b9e0c9 (patch) | |
| tree | 40503c993f9cd433b4f48baac1d9b100d76de541 /Transceiver/HamlibTransceiver.cpp | |
| parent | 5729bccd1e0b5c99d992b694bc203a977aeb386b (diff) | |
| parent | 5c05cfa3903d8a71d77f4b3dc1d2d0c7a043c6d6 (diff) | |
Update upstream source from tag 'upstream/2.2.0+repack'
Update to upstream version '2.2.0+repack'
with Debian dir 420018967e31760c7822abd007c7e2084c580e1b
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 ()); |
