aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/drv_mag.h
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-06-10 15:03:58 +0200
committerLorenz Meier <lm@inf.ethz.ch>2014-06-10 15:03:58 +0200
commit578680135e6813151a791dbcc3c31b1ba9c31a97 (patch)
tree2f22c204e96dea0c2daacdfa6bfe5d26d39d42e2 /src/drivers/drv_mag.h
parentc4280a7cd83f7793d4773ffedd36e0fa220e2c07 (diff)
downloadpx4-firmware-578680135e6813151a791dbcc3c31b1ba9c31a97.tar.gz
px4-firmware-578680135e6813151a791dbcc3c31b1ba9c31a97.tar.bz2
px4-firmware-578680135e6813151a791dbcc3c31b1ba9c31a97.zip
introduce multi device support on uORB
Diffstat (limited to 'src/drivers/drv_mag.h')
-rw-r--r--src/drivers/drv_mag.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/drv_mag.h b/src/drivers/drv_mag.h
index 06107bd3d..32e0e48b3 100644
--- a/src/drivers/drv_mag.h
+++ b/src/drivers/drv_mag.h
@@ -79,7 +79,8 @@ struct mag_scale {
/*
* ObjDev tag for raw magnetometer data.
*/
-ORB_DECLARE(sensor_mag);
+ORB_DECLARE(sensor_mag0);
+ORB_DECLARE(sensor_mag1);
/*
* ioctl() definitions