Merged in raiden00/apps (pull request #174)

Small fixes

examples/pca9635/pca9635_main.c: fix compilation

Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
raiden00pl
2019-04-28 11:33:21 +00:00
committed by Gregory Nutt
parent 0c6f41912c
commit 0a6726bc3e
2 changed files with 4 additions and 4 deletions

View File

@@ -85,14 +85,13 @@
static int usbtrace_syslog(FAR const char *fmt, ...)
{
va_list ap;
int ret;
/* Let vsyslog do the real work */
va_start(ap, fmt);
ret = vsyslog(LOG_INFO, fmt, ap);
vsyslog(LOG_INFO, fmt, ap);
va_end(ap);
return ret;
return OK;
}
/****************************************************************************