forked from Archive/PX4-Autopilot
drv_mag: added devtypes for magnetometers
This commit is contained in:
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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue