Added missing _PX4_IOC substitutions

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-03-11 16:59:19 -07:00
parent 5084a61f0e
commit 35e00f0ba1
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -38,7 +38,7 @@
# Library modules
#
MODULES += modules/systemlib
#MODULES += modules/systemlib/mixer
MODULES += modules/systemlib/mixer
#MODULES += modules/uORB
#MODULES += modules/dataman
+4 -3
View File
@@ -44,6 +44,7 @@
/*
* IOCTL interface for sending log messages.
*/
#include <px4_defines.h>
#include <sys/ioctl.h>
/**
@@ -56,9 +57,9 @@
*/
#define MAVLINK_LOG_MAXLEN 50
#define MAVLINK_IOC_SEND_TEXT_INFO _IOC(0x1100, 1)
#define MAVLINK_IOC_SEND_TEXT_CRITICAL _IOC(0x1100, 2)
#define MAVLINK_IOC_SEND_TEXT_EMERGENCY _IOC(0x1100, 3)
#define MAVLINK_IOC_SEND_TEXT_INFO _PX4_IOC(0x1100, 1)
#define MAVLINK_IOC_SEND_TEXT_CRITICAL _PX4_IOC(0x1100, 2)
#define MAVLINK_IOC_SEND_TEXT_EMERGENCY _PX4_IOC(0x1100, 3)
#ifdef __cplusplus
extern "C" {