From 26ec6cd9f6e3786887d58ce0a32c19d3206e7d41 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Sun, 16 Feb 2020 14:20:48 -0500 Subject: [PATCH] 2020-02-16 Fred Gleason * Cleaned up the device access mode in the SAS 64000gpi switcher driver. --- ChangeLog | 3 +++ ripcd/sas64000gpi.cpp | 7 +++---- ripcd/sas64000gpi.h | 5 ++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6b44c8ae..1a47cb24 100644 --- a/ChangeLog +++ b/ChangeLog @@ -19598,3 +19598,6 @@ 2020-02-16 Fred Gleason * Cleaned up the device access mode in the SAS 64000 switcher driver. +2020-02-16 Fred Gleason + * Cleaned up the device access mode in the SAS 64000gpi switcher + driver. diff --git a/ripcd/sas64000gpi.cpp b/ripcd/sas64000gpi.cpp index d2408f20..c563209a 100644 --- a/ripcd/sas64000gpi.cpp +++ b/ripcd/sas64000gpi.cpp @@ -1,9 +1,8 @@ // sas64000gpi.cpp // -// A Rivendell switcher driver for the SAS64000 connected via -// a GPI-1600 +// A Rivendell switcher driver for the SAS64000 connected via a GPI-1600 // -// (C) Copyright 2002-2019 Fred Gleason +// (C) Copyright 2002-2020 Fred Gleason // // 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 @@ -48,7 +47,7 @@ Sas64000Gpi::Sas64000Gpi(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; diff --git a/ripcd/sas64000gpi.h b/ripcd/sas64000gpi.h index 797898a7..d9db61aa 100644 --- a/ripcd/sas64000gpi.h +++ b/ripcd/sas64000gpi.h @@ -1,9 +1,8 @@ // sas64000gpi.h // -// A Rivendell switcher driver for the SAS64000 connected via -// a GPI-1600 +// A Rivendell switcher driver for the SAS64000 connected via a GPI-1600 // -// (C) Copyright 2002-2004,2016 Fred Gleason +// (C) Copyright 2002-2020 Fred Gleason // // 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