mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-14 22:51:13 +02:00
2019-06-21 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDApplication::syslog()' methods.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user