summaryrefslogtreecommitdiffstats
path: root/libsensors_iio/sensors.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsensors_iio/sensors.h')
-rw-r--r--libsensors_iio/sensors.h23
1 files changed, 14 insertions, 9 deletions
diff --git a/libsensors_iio/sensors.h b/libsensors_iio/sensors.h
index 0556c10..7264043 100644
--- a/libsensors_iio/sensors.h
+++ b/libsensors_iio/sensors.h
@@ -36,6 +36,20 @@ __BEGIN_DECLS
#endif
#define ID_MPL_BASE (0)
+
+enum {
+ ID_GY = ID_MPL_BASE,
+ ID_RG,
+ ID_A,
+ ID_M,
+ ID_O,
+ ID_RV,
+ ID_LA,
+ ID_GR,
+ ID_SO
+};
+
+/*
#define ID_GY (ID_MPL_BASE)
#define ID_A (ID_GY + 1)
#define ID_M (ID_A + 1)
@@ -43,15 +57,6 @@ __BEGIN_DECLS
#define ID_RV (ID_O + 1)
#define ID_LA (ID_RV + 1)
#define ID_GR (ID_LA + 1)
-
-/*#define ID_MPL_BASE (0)
-#define ID_RV (ID_MPL_BASE)
-#define ID_LA (ID_RV + 1)
-#define ID_GR (ID_LA + 1)
-#define ID_GY (ID_GR + 1)
-#define ID_A (ID_GY + 1)
-#define ID_M (ID_A + 1)
-#define ID_O (ID_M + 1)
*/
/*****************************************************************************/