fix bug where the PTY port would be treated as invalid;

pull/12/head
Bryan Biedenkapp 4 years ago
parent e68e387ef2
commit ea3be21cb2

@ -1574,7 +1574,7 @@ bool Host::createModem()
if (portType == NULL_PORT) {
modemPort = new port::ModemNullPort();
}
else if (portType == UART_PORT || portType == UDP_PORT) {
else if (portType == UART_PORT || portType == UDP_PORT || portType == PTY_PORT) {
port::SERIAL_SPEED serialSpeed = port::SERIAL_115200;
switch (uartSpeed) {
case 1200:

Loading…
Cancel
Save

Powered by TurnKey Linux.