mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 08:53:33 +08:00
Add ioctl to find out if mag is external or onboard
This commit is contained in:
@@ -111,4 +111,7 @@ ORB_DECLARE(sensor_mag);
|
||||
/** perform self test and report status */
|
||||
#define MAGIOCSELFTEST _MAGIOC(7)
|
||||
|
||||
/** determine if mag is external or onboard */
|
||||
#define MAGIOCGEXTERNAL _MAGIOC(8)
|
||||
|
||||
#endif /* _DRV_MAG_H */
|
||||
|
||||
Reference in New Issue
Block a user