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

* Cleaned up the device access mode in the Unity 4000 switcher
	driver.
This commit is contained in:
Fred Gleason
2020-02-17 08:24:47 -05:00
parent 466b5fb803
commit f410187c9c
2 changed files with 6 additions and 3 deletions

View File

@@ -19609,6 +19609,9 @@
2020-02-16 Fred Gleason <fredg@paravelsystems.com> 2020-02-16 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up the device access mode in the SAS USI switcher * Cleaned up the device access mode in the SAS USI switcher
driver. driver.
2020-02-16 Fred Gleason <fredg@paravelsystems.com> 2020-02-17 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up the device access mode in the Starguide 3 switcher * Cleaned up the device access mode in the Starguide 3 switcher
driver. driver.
2020-02-17 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up the device access mode in the Unity 4000 switcher
driver.

View File

@@ -2,7 +2,7 @@
// //
// A Rivendell switcher driver for the UNITY4000 // A Rivendell switcher driver for the UNITY4000
// //
// (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 // 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 // it under the terms of the GNU General Public License version 2 as
@@ -72,7 +72,7 @@ Unity4000::Unity4000(RDMatrix *matrix,QObject *parent)
unity_device->setSpeed(tty->baudRate()); unity_device->setSpeed(tty->baudRate());
unity_device->setWordLength(tty->dataBits()); unity_device->setWordLength(tty->dataBits());
unity_device->setParity(tty->parity()); unity_device->setParity(tty->parity());
unity_device->open(QIODevice::Unbuffered|QIODevice::ReadWrite); unity_device->open(QIODevice::Unbuffered|QIODevice::WriteOnly);
} }
delete tty; delete tty;
} }