diff --git a/ChangeLog b/ChangeLog index f70873b8..7159ffdc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. diff --git a/ripcd/quartz1.cpp b/ripcd/quartz1.cpp index c8180dfd..cdb531ac 100644 --- a/ripcd/quartz1.cpp +++ b/ripcd/quartz1.cpp @@ -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;