2019-06-21 Fred Gleason <fredg@paravelsystems.com>

* Added 'RDApplication::syslog()' methods.
This commit is contained in:
Fred Gleason
2019-06-24 16:40:18 -04:00
parent 52dc14a3b3
commit f50447eb8b
71 changed files with 1064 additions and 887 deletions

View File

@@ -2,7 +2,7 @@
//
// A Rivendell switcher driver for the BroadcastTools GPI-16
//
// (C) Copyright 2002-2005,2010,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2019 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
@@ -57,8 +57,8 @@ BtGpi16::BtGpi16(RDMatrix *matrix,QObject *parent)
bt_device->setWordLength(tty->dataBits());
bt_device->setParity(tty->parity());
if(!bt_device->open(QIODevice::Unbuffered|QIODevice::ReadWrite)) {
syslog(LOG_WARNING,"unable to open serial device \"%s\"",
(const char *)tty->port().toUtf8());
rda->syslog(LOG_WARNING,"unable to open serial device \"%s\"",
(const char *)tty->port().toUtf8());
}
}
delete tty;