diff --git a/ChangeLog b/ChangeLog index 3df357ac..6b44c8ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -19595,3 +19595,6 @@ 2020-02-16 Fred Gleason * Cleaned up the device access mode in the SAS 32000 switcher driver. +2020-02-16 Fred Gleason + * Cleaned up the device access mode in the SAS 64000 switcher + driver. diff --git a/ripcd/sas64000.cpp b/ripcd/sas64000.cpp index 0b1c6b43..aa5e6a5c 100644 --- a/ripcd/sas64000.cpp +++ b/ripcd/sas64000.cpp @@ -2,7 +2,7 @@ // // A Rivendell switcher driver for the SAS64000 // -// (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 @@ -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; }