mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-07 05:31:36 +08:00
Ported more simulated sensors to DriverFramework
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
#include "drv_sensor.h"
|
||||
#include "drv_orb_dev.h"
|
||||
|
||||
#ifdef __PX4_NUTTX
|
||||
/*
|
||||
* ioctl() definitions
|
||||
*/
|
||||
@@ -65,6 +66,11 @@
|
||||
*/
|
||||
#define DEVIOCGDEVICEID _DEVICEIOC(2)
|
||||
|
||||
#else
|
||||
#include "DevObj.hpp"
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __PX4_POSIX
|
||||
|
||||
#ifndef SIOCDEVPRIVATE
|
||||
|
||||
Reference in New Issue
Block a user