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

* Cleaned up the device access mode in the BroadcastTools 16x1
	switcher driver.
This commit is contained in:
Fred Gleason 2020-02-14 18:09:15 -05:00
parent 031001ddb2
commit 043a078cc7
2 changed files with 5 additions and 2 deletions

View File

@ -19542,3 +19542,6 @@
2020-02-14 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up the device access mode in the BroadcastTools 10x1
switcher driver.
2020-02-14 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up the device access mode in the BroadcastTools 16x1
switcher driver.

View File

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