From 466b5fb803aa1cdeef61b6cad6531f5875fc8979 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Mon, 17 Feb 2020 08:20:04 -0500 Subject: [PATCH] 2020-02-16 Fred Gleason * Cleaned up the device access mode in the Starguide 3 switcher driver. --- ChangeLog | 6 ++++++ ripcd/starguide3.cpp | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c651f31a..e8c3e2e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -19606,3 +19606,9 @@ driver. 2020-02-16 Fred Gleason * Removed Q3Socket dependency from the SAS USI switcher driver. +2020-02-16 Fred Gleason + * Cleaned up the device access mode in the SAS USI switcher + driver. +2020-02-16 Fred Gleason + * Cleaned up the device access mode in the Starguide 3 switcher + driver. diff --git a/ripcd/starguide3.cpp b/ripcd/starguide3.cpp index 7ab1332d..17f3bd97 100644 --- a/ripcd/starguide3.cpp +++ b/ripcd/starguide3.cpp @@ -2,7 +2,7 @@ // // A Rivendell switcher driver for the StarGuide III Satellite Receiver // -// (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 @@ -73,7 +73,7 @@ StarGuide3::StarGuide3(RDMatrix *matrix,QObject *parent) sg_device->setSpeed(tty->baudRate()); sg_device->setWordLength(tty->dataBits()); sg_device->setParity(tty->parity()); - sg_device->open(QIODevice::Unbuffered|QIODevice::ReadWrite); + sg_device->open(QIODevice::Unbuffered|QIODevice::WriteOnly); } delete tty; }