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

* Cleaned up the device access mode in the BroadcastTools 8x2
	switcher driver.
This commit is contained in:
Fred Gleason
2020-02-14 18:11:38 -05:00
parent 043a078cc7
commit e32f415616
2 changed files with 5 additions and 2 deletions

View File

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

View File

@@ -2,7 +2,7 @@
//
// A Rivendell switcher driver for the BroadcastTools 8x2
//
// (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 @@ Bt8x2::Bt8x2(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;
}