forked from Archive/PX4-Autopilot
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:
parent
2d32395bc0
commit
2f434eb395
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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__); }
|
||||
|
|
Loading…
Reference in New Issue