mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-14 19:11:36 +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:
@@ -65,5 +65,8 @@
|
||||
*/
|
||||
#define DEVIOCGDEVICEID _DEVICEIOC(2)
|
||||
|
||||
#ifdef __PX4_POSIX
|
||||
#define DIOC_GETPRIV SIOCDEVPRIVATE
|
||||
#endif
|
||||
|
||||
#endif /* _DRV_DEVICE_H */
|
||||
|
||||
Reference in New Issue
Block a user