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:
parent
0c6f41912c
commit
0a6726bc3e
@ -46,7 +46,7 @@
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <nuttx/pca9635pw.h>
|
||||
#include <nuttx/leds/pca9635pw.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -108,3 +108,4 @@ int pca9635_main(int argc, char *argv[])
|
||||
|
||||
close(fd);
|
||||
return 0;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user