Hamlib DTR / RTS state

Added OFF setting to DTR and RTS initial state - hamlib default
    might not be in the OFF state if the check box was not enabled.
pull/2/head
David Freese 2009-03-25 07:45:23 -05:00
rodzic efc4259d69
commit 3993b5b7d1
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -117,9 +117,13 @@ bool hamlib_init(bool bPtt)
if (progdefaults.HamlibRTSplus)
xcvr->setConf("rts_state", "ON");
else
xcvr->setConf("rts_state", "OFF");
if (progdefaults.HamlibDTRplus)
xcvr->setConf("dtr_state", "ON");
else
xcvr->setConf("dtr_state", "OFF");
if (progdefaults.HamlibRTSCTSflow)
xcvr->setConf("serial_handshake", "Hardware");