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:
Mark Charlebois
2015-04-21 23:20:59 -07:00
parent da29004a26
commit 02aaa403f1
4 changed files with 10 additions and 11 deletions
-6
View File
@@ -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__)