Add ioctl to find out if mag is external or onboard

This commit is contained in:
Julian Oes
2013-08-18 09:24:27 +02:00
parent 061be7f7fe
commit 408eaf0ad1
3 changed files with 34 additions and 8 deletions
+3
View File
@@ -111,4 +111,7 @@ ORB_DECLARE(sensor_mag);
/** perform self test and report status */
#define MAGIOCSELFTEST _MAGIOC(7)
/** determine if mag is external or onboard */
#define MAGIOCGEXTERNAL _MAGIOC(8)
#endif /* _DRV_MAG_H */