mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-06-12 14:20:26 +02:00
2020-02-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in the BroadcastTools ACS8.2 switcher driver that could cause deadlocks and intermittent operation.
This commit is contained in:
parent
e32f415616
commit
5c65965f15
@ -19548,3 +19548,6 @@
|
||||
2020-02-14 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Cleaned up the device access mode in the BroadcastTools 8x2
|
||||
switcher driver.
|
||||
2020-02-14 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a regression in the BroadcastTools ACS8.2 switcher driver
|
||||
that could cause deadlocks and intermittent operation.
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// A Rivendell switcher driver for the BroadcastTools ACS 8.2
|
||||
//
|
||||
// (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
|
||||
@ -53,6 +53,7 @@ BtAcs82::BtAcs82(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());
|
||||
@ -71,13 +72,6 @@ BtAcs82::BtAcs82(RDMatrix *matrix,QObject *parent)
|
||||
bt_gpo_oneshot=new RDOneShot(this);
|
||||
connect(bt_gpo_oneshot,SIGNAL(timeout(void *)),
|
||||
this,SLOT(gpoOneshotData(int)));
|
||||
|
||||
//
|
||||
// The Poll Timer
|
||||
//
|
||||
QTimer *timer=new QTimer(this,"poll_timer");
|
||||
connect(timer,SIGNAL(timeout()),this,SLOT(processStatus()));
|
||||
timer->start(BTACS82_POLL_INTERVAL);
|
||||
}
|
||||
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// A Rivendell switcher driver for the BroadcastTools ACS 8.2
|
||||
//
|
||||
// (C) Copyright 2002-2008,2016 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
|
||||
@ -30,7 +30,6 @@
|
||||
#include <switcher.h>
|
||||
|
||||
#define BTACS82_UNIT_ID 0
|
||||
#define BTACS82_POLL_INTERVAL 100
|
||||
#define BTACS82_GPIO_PINS 16
|
||||
|
||||
class BtAcs82 : public Switcher
|
||||
|
Loading…
x
Reference in New Issue
Block a user