Remove set_rts and set_dtr low from serial.c

This was causing hardward flow control to fail on Linux and MacOS
https://github.com/Hamlib/Hamlib/issues/1198
https://github.com/Hamlib/Hamlib/issues/1199
Hamlib-4.5.3
Mike Black W9MDB 2022-12-31 09:30:25 -06:00
rodzic 1f332d7333
commit 6643d44ed9
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -290,8 +290,10 @@ int HAMLIB_API serial_setup(hamlib_port_t *rp)
fd = rp->fd;
// Linux sets pins high so we force them low once
ser_set_rts(rp, 0);
ser_set_dtr(rp, 0);
// This fails on Linux and MacOS with hardware flow control
// Seems setting low disables hardware flow setting later
// ser_set_rts(rp, 0);
// ser_set_dtr(rp, 0);
/*
* Get the current options for the port...