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

* Cleaned up the device access mode in the BroadcastTools SS2.1
	switcher driver.
This commit is contained in:
Fred Gleason
2020-02-14 19:30:38 -05:00
parent 86e91cf47a
commit 2039c73bdc
2 changed files with 5 additions and 2 deletions

View File

@@ -19566,3 +19566,6 @@
2020-02-14 Fred Gleason <fredg@paravelsystems.com> 2020-02-14 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up the device access mode in the BroadcastTools SS12.4 * Cleaned up the device access mode in the BroadcastTools SS12.4
switcher driver. switcher driver.
2020-02-14 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up the device access mode in the BroadcastTools SS2.1
switcher driver.

View File

@@ -2,7 +2,7 @@
// //
// A Rivendell switcher driver for the BroadcastTools SS 2.1 // A Rivendell switcher driver for the BroadcastTools SS 2.1
// //
// (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 // 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 // it under the terms of the GNU General Public License version 2 as
@@ -48,7 +48,7 @@ BtSs21::BtSs21(RDMatrix *matrix,QObject *parent)
bt_device->setSpeed(tty->baudRate()); bt_device->setSpeed(tty->baudRate());
bt_device->setWordLength(tty->dataBits()); bt_device->setWordLength(tty->dataBits());
bt_device->setParity(tty->parity()); bt_device->setParity(tty->parity());
bt_device->open(QIODevice::IO_ReadWrite); bt_device->open(QIODevice::IO_WriteOnly);
} }
delete tty; delete tty;
} }