diff options
author | Andrew Tridgell <andrew@tridgell.net> | 2015-03-26 12:18:24 -0700 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-04-08 17:45:53 +0200 |
commit | dea97dd2776490d39f4e451f5a72ffb3764ca763 (patch) | |
tree | f25d934cf602c3249c74a626ee8d03465f76deda /src/drivers | |
parent | 2d944490760117d90c92fed88edad164451a606a (diff) | |
download | px4-firmware-dea97dd2776490d39f4e451f5a72ffb3764ca763.tar.gz px4-firmware-dea97dd2776490d39f4e451f5a72ffb3764ca763.tar.bz2 px4-firmware-dea97dd2776490d39f4e451f5a72ffb3764ca763.zip |
drv_mag: added ioctl to control temperature compensation
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/drv_mag.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/drv_mag.h b/src/drivers/drv_mag.h index ca33966b0..3c12216a6 100644 --- a/src/drivers/drv_mag.h +++ b/src/drivers/drv_mag.h @@ -129,4 +129,7 @@ ORB_DECLARE(sensor_mag); /** determine if mag is external or onboard */ #define MAGIOCGEXTERNAL _MAGIOC(11) +/** enable/disable temperature compensation */ +#define MAGIOCSTEMPCOMP _MAGIOC(12) + #endif /* _DRV_MAG_H */ |