aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/drv_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/drv_device.h')
-rw-r--r--src/drivers/drv_device.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/drivers/drv_device.h b/src/drivers/drv_device.h
index b310beb74..19d55cef3 100644
--- a/src/drivers/drv_device.h
+++ b/src/drivers/drv_device.h
@@ -59,4 +59,11 @@
/** check publication block status */
#define DEVIOCGPUBBLOCK _DEVICEIOC(1)
+/**
+ * Return device ID, to enable matching of configuration parameters
+ * (such as compass offsets) to specific sensors
+ */
+#define DEVIOCGDEVICEID _DEVICEIOC(2)
+
+
#endif /* _DRV_DEVICE_H */