aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/drv_mag.h
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2015-01-25 17:51:33 +0100
committerLorenz Meier <lm@inf.ethz.ch>2015-01-29 16:33:52 +0100
commitf30b02272beee4ad5c137a25c726ec158f0135de (patch)
treeb2dfc73eb134f1b77f1f0c3111e0880deb6e5c49 /src/drivers/drv_mag.h
parent50a58db7e605c61bb50cfb154cbc43bf9c4c67ae (diff)
downloadpx4-firmware-f30b02272beee4ad5c137a25c726ec158f0135de.tar.gz
px4-firmware-f30b02272beee4ad5c137a25c726ec158f0135de.tar.bz2
px4-firmware-f30b02272beee4ad5c137a25c726ec158f0135de.zip
Move HMC5883 to new interface
Diffstat (limited to 'src/drivers/drv_mag.h')
-rw-r--r--src/drivers/drv_mag.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/drivers/drv_mag.h b/src/drivers/drv_mag.h
index d341e8947..d8fe1ae7a 100644
--- a/src/drivers/drv_mag.h
+++ b/src/drivers/drv_mag.h
@@ -1,6 +1,6 @@
/****************************************************************************
*
- * Copyright (C) 2012 PX4 Development Team. All rights reserved.
+ * Copyright (c) 2012-2015 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -81,9 +81,7 @@ struct mag_scale {
/*
* ObjDev tag for raw magnetometer data.
*/
-ORB_DECLARE(sensor_mag0);
-ORB_DECLARE(sensor_mag1);
-ORB_DECLARE(sensor_mag2);
+ORB_DECLARE(sensor_mag);
/*
* mag device types, for _device_id