Moved IOCTL definitions to DevIOCTL.h in DriverFramework

Removed sched.h from platform/qurt since it is now in DSPAL.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-11-17 19:30:51 -08:00
parent 0544d06ad0
commit 238db8c6d7
7 changed files with 41 additions and 38 deletions
+1 -24
View File
@@ -46,30 +46,7 @@
#include "drv_sensor.h"
#include "drv_orb_dev.h"
#ifdef __PX4_NUTTX
/*
* ioctl() definitions
*/
#define _DEVICEIOCBASE (0x100)
#define _DEVICEIOC(_n) (_PX4_IOC(_DEVICEIOCBASE, _n))
/** ask device to stop publishing */
#define DEVIOCSPUBBLOCK _DEVICEIOC(0)
/** check publication block status */
#define DEVIOCGPUBBLOCK _DEVICEIOC(1)
/**
* Return device ID, to enable matching of configuration parameters
* (such as compass offsets) to specific sensors
*/
#define DEVIOCGDEVICEID _DEVICEIOC(2)
#else
#include "DevObj.hpp"
#endif
#include "DevIOCTL.h"
#ifdef __PX4_POSIX