kopia lustrzana https://github.com/Hamlib/Hamlib
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/1199pull/1215/head
rodzic
1bb1f545eb
commit
c1662ce886
|
@ -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...
|
||||
|
|
Ładowanie…
Reference in New Issue