mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 20:27:35 +08:00
drv_mag: added devtypes for magnetometers
This commit is contained in:
committed by
Lorenz Meier
parent
93d444d1aa
commit
a2739707bb
@@ -81,6 +81,13 @@ struct mag_scale {
|
||||
*/
|
||||
ORB_DECLARE(sensor_mag);
|
||||
|
||||
|
||||
/*
|
||||
* mag device types, for _device_id
|
||||
*/
|
||||
#define DRV_MAG_DEVTYPE_HMC5883 1
|
||||
#define DRV_MAG_DEVTYPE_LSM303D 2
|
||||
|
||||
/*
|
||||
* ioctl() definitions
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user