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

* Cleaned up the device access mode in the Quartz 1 switcher driver.
This commit is contained in:
Fred Gleason 2020-02-14 19:47:35 -05:00
parent 56c797b611
commit 2466c4dd80
2 changed files with 5 additions and 2 deletions

View File

@ -19581,3 +19581,5 @@
2020-02-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in the BroadcastTools SS 8.2 switcher driver
that could cause deadlocks and intermittent operation.
2020-02-14 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up the device access mode in the Quartz 1 switcher driver.

View File

@ -2,7 +2,7 @@
//
// A Rivendell switcher driver for the Quartz Type 1 Switcher Protocol
//
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@ -81,7 +81,8 @@ Quartz1::Quartz1(RDMatrix *matrix,QObject *parent)
sas_device[i]->setSpeed(tty->baudRate());
sas_device[i]->setWordLength(tty->dataBits());
sas_device[i]->setParity(tty->parity());
sas_device[i]->open(QIODevice::Unbuffered|QIODevice::ReadWrite);
sas_device[i]->open(QIODevice::Unbuffered|
QIODevice::WriteOnly);
}
delete tty;