drv_mag: added ioctl to control temperature compensation

This commit is contained in:
Andrew Tridgell 2015-03-26 12:18:24 -07:00 committed by Lorenz Meier
parent 2d94449076
commit dea97dd277
1 changed files with 3 additions and 0 deletions

View File

@ -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 */