mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-09 22:43:11 +02:00
2020-02-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in the BroadcastTools SRC-16 switcher driver that could cause deadlocks and intermittent operation.
This commit is contained in:
parent
764ce50952
commit
a311ddb935
@ -19557,3 +19557,6 @@
|
|||||||
2020-02-14 Fred Gleason <fredg@paravelsystems.com>
|
2020-02-14 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Fixed a regression in the BroadcastTools GPI-16 switcher driver
|
* Fixed a regression in the BroadcastTools GPI-16 switcher driver
|
||||||
that could cause deadlocks and intermittent operation.
|
that could cause deadlocks and intermittent operation.
|
||||||
|
2020-02-14 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a regression in the BroadcastTools SRC-16 switcher driver
|
||||||
|
that could cause deadlocks and intermittent operation.
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// A Rivendell switcher driver for the BroadcastTools SRC-16
|
// A Rivendell switcher driver for the BroadcastTools SRC-16
|
||||||
//
|
//
|
||||||
// (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
|
||||||
@ -51,6 +51,7 @@ BtSrc16::BtSrc16(RDMatrix *matrix,QObject *parent)
|
|||||||
//
|
//
|
||||||
RDTty *tty=new RDTty(rda->station()->name(),matrix->port(RDMatrix::Primary));
|
RDTty *tty=new RDTty(rda->station()->name(),matrix->port(RDMatrix::Primary));
|
||||||
bt_device=new RDTTYDevice();
|
bt_device=new RDTTYDevice();
|
||||||
|
connect(bt_device,SIGNAL(readyRead()),this,SLOT(processStatus()));
|
||||||
if(tty->active()) {
|
if(tty->active()) {
|
||||||
bt_device->setName(tty->port());
|
bt_device->setName(tty->port());
|
||||||
bt_device->setSpeed(tty->baudRate());
|
bt_device->setSpeed(tty->baudRate());
|
||||||
@ -67,13 +68,6 @@ BtSrc16::BtSrc16(RDMatrix *matrix,QObject *parent)
|
|||||||
connect(bt_gpi_oneshot,SIGNAL(timeout(int)),this,SLOT(gpiOneshotData(int)));
|
connect(bt_gpi_oneshot,SIGNAL(timeout(int)),this,SLOT(gpiOneshotData(int)));
|
||||||
bt_gpo_oneshot=new RDOneShot(this);
|
bt_gpo_oneshot=new RDOneShot(this);
|
||||||
connect(bt_gpo_oneshot,SIGNAL(timeout(int)),this,SLOT(gpoOneshotData(int)));
|
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(BTSRC16_POLL_INTERVAL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// A Rivendell switcher driver for the BroadcastTools SRC-16
|
// A Rivendell switcher driver for the BroadcastTools SRC-16
|
||||||
//
|
//
|
||||||
// (C) Copyright 2002-2005,2010,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
|
// 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
|
||||||
@ -30,7 +30,6 @@
|
|||||||
#include <switcher.h>
|
#include <switcher.h>
|
||||||
|
|
||||||
#define BTSRC16_UNIT_ID 0
|
#define BTSRC16_UNIT_ID 0
|
||||||
#define BTSRC16_POLL_INTERVAL 100
|
|
||||||
#define BTSRC16_GPIO_PINS 16
|
#define BTSRC16_GPIO_PINS 16
|
||||||
|
|
||||||
class BtSrc16 : public Switcher
|
class BtSrc16 : public Switcher
|
||||||
|
Loading…
x
Reference in New Issue
Block a user