mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-27 06:38:44 -05:00
Allow DTR line to be forced alongside hardware flow control
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5671 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
4303a955b7
commit
c739bb88e8
@ -1416,7 +1416,10 @@ void Configuration::impl::set_rig_invariants ()
|
||||
}
|
||||
}
|
||||
ui_->CAT_serial_port_parameters_group_box->setEnabled (is_serial_CAT);
|
||||
ui_->CAT_control_lines_group_box->setEnabled (is_serial_CAT && !is_hw_handshake);
|
||||
ui_->CAT_control_lines_group_box->setEnabled (is_serial_CAT);
|
||||
ui_->CAT_RTS_check_box->setEnabled (is_serial_CAT
|
||||
&& ui_->CAT_control_lines_group_box->isChecked ()
|
||||
&& !is_hw_handshake);
|
||||
}
|
||||
|
||||
auto const& cat_port = ui_->CAT_port_combo_box->currentText ();
|
||||
|
@ -261,7 +261,10 @@ HamlibTransceiver::HamlibTransceiver (int model_number, TransceiverFactory::Para
|
||||
if (params.force_line_control)
|
||||
{
|
||||
set_conf ("dtr_state", params.dtr_high ? "ON" : "OFF");
|
||||
set_conf ("rts_state", params.rts_high ? "ON" : "OFF");
|
||||
if (TransceiverFactory::handshake_hardware != params.handshake)
|
||||
{
|
||||
set_conf ("rts_state", params.rts_high ? "ON" : "OFF");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user