aboutsummaryrefslogtreecommitdiff
path: root/apps/drivers/drv_mag.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/drivers/drv_mag.h')
-rw-r--r--apps/drivers/drv_mag.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/drivers/drv_mag.h b/apps/drivers/drv_mag.h
index 7e90e9e46..673a3988f 100644
--- a/apps/drivers/drv_mag.h
+++ b/apps/drivers/drv_mag.h
@@ -75,7 +75,7 @@ ORB_DECLARE(sensor_mag);
* ioctl() definitions
*/
-#define _MAGIOCBASE (_SNIOCBASE + 0x30)
+#define _MAGIOCBASE (0x2300)
#define _MAGIOC(_n) (_IOC(_MAGIOBASE, _n))
/** set the driver polling rate to (arg) Hz, or one of the MAG_POLLRATE constants */