kopia lustrzana https://github.com/maccasoft/z80-tools
Fixed initial state of RTS and DTR lines
rodzic
99e05c313b
commit
a1dc1e8fc7
|
@ -564,8 +564,8 @@ public class SerialTerminal {
|
||||||
SerialPort.DATABITS_8,
|
SerialPort.DATABITS_8,
|
||||||
SerialPort.STOPBITS_1,
|
SerialPort.STOPBITS_1,
|
||||||
SerialPort.PARITY_NONE,
|
SerialPort.PARITY_NONE,
|
||||||
false,
|
true,
|
||||||
false);
|
true);
|
||||||
if (flowControl) {
|
if (flowControl) {
|
||||||
serialPort.setFlowControlMode(SerialPort.FLOWCONTROL_RTSCTS_IN | SerialPort.FLOWCONTROL_RTSCTS_OUT);
|
serialPort.setFlowControlMode(SerialPort.FLOWCONTROL_RTSCTS_IN | SerialPort.FLOWCONTROL_RTSCTS_OUT);
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue