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

@@ -59,8 +59,8 @@ ModemLines::ModemLines(RDMatrix *matrix,QObject *parent)
//
gpio_tty=new RDTty(rda->station()->name(),matrix->port(RDMatrix::Primary));
if((gpio_fd=open(gpio_tty->port(),O_RDONLY))<0) {
syslog(LOG_WARNING,"unable to open tty \"%s\"",
(const char *)gpio_tty->port());
rda->syslog(LOG_WARNING,"unable to open tty \"%s\"",
(const char *)gpio_tty->port());
return;
}
for(int i=0;i<gpio_gpos;i++) { // So we don't false trigger