mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-12-24 11:40:31 -05:00
Allow for remote CAT with local hardware PTT
This commit is contained in:
parent
0c0d71c0a7
commit
366edf01ee
@ -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 ());
|
||||
|
Loading…
Reference in New Issue
Block a user