mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 09:13:32 +08:00
Added missing _PX4_IOC substitutions
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
# Library modules
|
||||
#
|
||||
MODULES += modules/systemlib
|
||||
#MODULES += modules/systemlib/mixer
|
||||
MODULES += modules/systemlib/mixer
|
||||
#MODULES += modules/uORB
|
||||
#MODULES += modules/dataman
|
||||
|
||||
|
||||
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user