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

* Cleaned up the device access mode in the SAS 64000 switcher
	driver.
This commit is contained in:
Fred Gleason 2020-02-16 14:16:09 -05:00
parent de75458ad7
commit 9652f7473e
2 changed files with 5 additions and 2 deletions

View File

@ -19595,3 +19595,6 @@
2020-02-16 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up the device access mode in the SAS 32000 switcher
driver.
2020-02-16 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up the device access mode in the SAS 64000 switcher
driver.

View File

@ -2,7 +2,7 @@
//
// A Rivendell switcher driver for the SAS64000
//
// (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
@ -44,7 +44,7 @@ Sas64000::Sas64000(RDMatrix *matrix,QObject *parent)
sas_device->setSpeed(tty->baudRate());
sas_device->setWordLength(tty->dataBits());
sas_device->setParity(tty->parity());
sas_device->open(QIODevice::Unbuffered|QIODevice::ReadWrite);
sas_device->open(QIODevice::Unbuffered|QIODevice::WriteOnly);
}
delete tty;
}