diff options
Diffstat (limited to 'src/drivers/drv_mag.h')
-rw-r--r-- | src/drivers/drv_mag.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/drivers/drv_mag.h b/src/drivers/drv_mag.h index 06107bd3d..5ddf5d08e 100644 --- a/src/drivers/drv_mag.h +++ b/src/drivers/drv_mag.h @@ -79,7 +79,15 @@ struct mag_scale { /* * ObjDev tag for raw magnetometer data. */ -ORB_DECLARE(sensor_mag); +ORB_DECLARE(sensor_mag0); +ORB_DECLARE(sensor_mag1); +ORB_DECLARE(sensor_mag2); + +/* + * mag device types, for _device_id + */ +#define DRV_MAG_DEVTYPE_HMC5883 1 +#define DRV_MAG_DEVTYPE_LSM303D 2 /* * ioctl() definitions |