POSIX: fixups for px4_log.h change

After merge from qurt branch, fixups for posix build

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois 2015-05-11 16:14:06 -07:00
parent 2d32395bc0
commit 2f434eb395
3 changed files with 3 additions and 1 deletions

View File

@ -40,7 +40,7 @@
* that is supplied. Should we just depend on the bus knowing?
*/
#include <px4_debug.h>
#include <px4_log.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>

View File

@ -37,6 +37,7 @@
* POSIX-like API for virtual character device
*/
#include <px4_log.h>
#include <px4_posix.h>
#include <px4_time.h>
#include "device.h"

View File

@ -59,6 +59,7 @@ __END_DECLS
#endif
#define PX4_DBG(...)
#define PX4_DEBUG(...)
#define PX4_INFO(...) warnx(__VA_ARGS__)
#define PX4_WARN(...) warnx(__VA_ARGS__)
#define PX4_ERR(...) { warnx("ERROR file %s line %d:", __FILE__, __LINE__); warnx(__VA_ARGS__); }