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

* Fixed a regression in the BroadcastTools SS16.4 switcher driver
	that could cause deadlocks and intermittent operation.
This commit is contained in:
Fred Gleason
2020-02-14 17:28:24 -05:00
parent 532dd9aef8
commit fa894996a9
3 changed files with 6 additions and 7 deletions

View File

@@ -55,6 +55,8 @@ bool RDTTYDevice::open(QIODevice::OpenMode mode)
int flags=O_NONBLOCK|O_NOCTTY;
struct termios term;
QIODevice::open(mode);
tty_mode=mode;
if((mode&QIODevice::ReadWrite)==QIODevice::ReadWrite) {
flags|=O_RDWR;