mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-07 01:13:50 +02:00
2020-02-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in the BroadcastTools SS16.4 switcher driver that could cause deadlocks and intermittent operation.
This commit is contained in:
parent
532dd9aef8
commit
fa894996a9
@ -19533,3 +19533,6 @@
|
||||
* Cleaned up a compiler warning in 'lib/rdcae.cpp'.
|
||||
2020-02-07 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Incremented the package version to 3.2.1int1.
|
||||
2020-02-14 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a regression in the BroadcastTools SS16.4 switcher driver
|
||||
that could cause deadlocks and intermittent operation.
|
||||
|
@ -55,6 +55,8 @@ bool RDTTYDevice::open(QIODevice::OpenMode mode)
|
||||
int flags=O_NONBLOCK|O_NOCTTY;
|
||||
struct termios term;
|
||||
|
||||
QIODevice::open(mode);
|
||||
|
||||
tty_mode=mode;
|
||||
if((mode&QIODevice::ReadWrite)==QIODevice::ReadWrite) {
|
||||
flags|=O_RDWR;
|
||||
|
@ -53,6 +53,7 @@ BtSs164::BtSs164(RDMatrix *matrix,QObject *parent)
|
||||
//
|
||||
RDTty *tty=new RDTty(rda->station()->name(),matrix->port(RDMatrix::Primary));
|
||||
bt_device=new RDTTYDevice();
|
||||
connect(bt_device,SIGNAL(readyRead()),this,SLOT(processStatus()));
|
||||
if(tty->active()) {
|
||||
bt_device->setName(tty->port());
|
||||
bt_device->setSpeed(tty->baudRate());
|
||||
@ -69,13 +70,6 @@ BtSs164::BtSs164(RDMatrix *matrix,QObject *parent)
|
||||
connect(bt_gpi_oneshot,SIGNAL(timeout(int)),this,SLOT(gpiOneshotData(int)));
|
||||
bt_gpo_oneshot=new RDOneShot(this);
|
||||
connect(bt_gpo_oneshot,SIGNAL(timeout(int)),this,SLOT(gpoOneshotData(int)));
|
||||
|
||||
//
|
||||
// The Poll Timer
|
||||
//
|
||||
QTimer *timer=new QTimer(this,"poll_timer");
|
||||
connect(timer,SIGNAL(timeout()),this,SLOT(processStatus()));
|
||||
timer->start(BTSS164_POLL_INTERVAL);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user