2020-02-17 Fred Gleason <fredg@paravelsystems.com>

* Cleaned up the tty device access mode in the vGuest switcher
	driver.
This commit is contained in:
Fred Gleason 2020-02-17 08:29:46 -05:00
parent f410187c9c
commit df4e3c9ca7
2 changed files with 4 additions and 1 deletions

View File

@ -19615,3 +19615,6 @@
2020-02-17 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up the device access mode in the Unity 4000 switcher
driver.
2020-02-17 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up the tty device access mode in the vGuest switcher
driver.

View File

@ -235,7 +235,7 @@ VGuest::VGuest(RDMatrix *matrix,QObject *parent)
vguest_device[i]->setSpeed(tty->baudRate());
vguest_device[i]->setWordLength(tty->dataBits());
vguest_device[i]->setParity(tty->parity());
vguest_device[i]->open(QIODevice::Unbuffered|QIODevice::ReadWrite);
vguest_device[i]->open(QIODevice::Unbuffered|QIODevice::WriteOnly);
}
delete tty;
}