mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 01:13:33 +08:00
Posix: removed PX4_DEVIOC* definitions
The following should not have been defined: PX4_DIOC_GETPRIV PX4_DEVIOCSPUBBLOCK PX4_DEVIOCGPUBBLOCK PX4_DEVIOCGDEVICEID The actual defines are in drv_device.h and are: DEVIOCSPUBBLOCK DEVIOCGPUBBLOCK DEVIOCGDEVICEID DIOC_GETPRIV is defined by Nuttx, so mapped to SIOCDEVPRIVATE for POSIX Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -49,12 +49,6 @@
|
||||
#define PX4_F_RDONLY 1
|
||||
#define PX4_F_WRONLY 2
|
||||
|
||||
#define PX4_DEVIOCGDEVICEID 1
|
||||
|
||||
#define PX4_DIOC_GETPRIV 2
|
||||
#define PX4_DEVIOCSPUBBLOCK 3
|
||||
#define PX4_DEVIOCGPUBBLOCK 4
|
||||
|
||||
#define PX4_DEBUG(...)
|
||||
//#define PX4_DEBUG(...) printf(__VA_ARGS__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user