diff options
author | Ramanan Rajeswaran <ramanan@google.com> | 2012-09-26 14:24:48 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-09-26 14:24:48 -0700 |
commit | 64ca18f95225d0a86f7ccfd1d21c23971b9f77ae (patch) | |
tree | d00916dda47dd39f3d625c834e2f2e04782559f1 /libsensors_iio/software/core/mllite/message_layer.h | |
parent | 6a4d9a48ffde124c498496f6dae1e77c2cae6864 (diff) | |
download | android_hardware_invensense-64ca18f95225d0a86f7ccfd1d21c23971b9f77ae.tar.gz android_hardware_invensense-64ca18f95225d0a86f7ccfd1d21c23971b9f77ae.tar.bz2 android_hardware_invensense-64ca18f95225d0a86f7ccfd1d21c23971b9f77ae.zip |
Revert "Official MA 5.1.2 - RC11 Release"
This reverts commit 6a4d9a48ffde124c498496f6dae1e77c2cae6864
Change-Id: I85c4b326a2adf930fcd4a64e4c4f36e99f4fa4cb
Diffstat (limited to 'libsensors_iio/software/core/mllite/message_layer.h')
-rw-r--r-- | libsensors_iio/software/core/mllite/message_layer.h | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/libsensors_iio/software/core/mllite/message_layer.h b/libsensors_iio/software/core/mllite/message_layer.h index e6d90d5..df0c0e2 100644 --- a/libsensors_iio/software/core/mllite/message_layer.h +++ b/libsensors_iio/software/core/mllite/message_layer.h @@ -1,35 +1,35 @@ -/* - $License: - Copyright (C) 2011-2012 InvenSense Corporation, All Rights Reserved. - See included License.txt for License information. - $ - */ -#ifndef INV_MESSAGE_LAYER_H__ -#define INV_MESSAGE_LAYER_H__ - -#include "mltypes.h" - -#ifdef __cplusplus -extern "C" { -#endif - - /* Level 0 Type Messages */ - /** A motion event has occured */ -#define INV_MSG_MOTION_EVENT (0x01) - /** A no motion event has occured */ -#define INV_MSG_NO_MOTION_EVENT (0x02) - /** A setting of the gyro bias has occured */ -#define INV_MSG_NEW_GB_EVENT (0x04) - /** A setting of the compass bias has occured */ -#define INV_MSG_NEW_CB_EVENT (0x08) - /** A setting of the accel bias has occured */ -#define INV_MSG_NEW_AB_EVENT (0x10) - - void inv_set_message(long set, long clear, int level); - long inv_get_message_level_0(int clear); - -#ifdef __cplusplus -} -#endif - -#endif // INV_MESSAGE_LAYER_H__ +/*
+ $License:
+ Copyright (C) 2011-2012 InvenSense Corporation, All Rights Reserved.
+ See included License.txt for License information.
+ $
+ */
+#ifndef INV_MESSAGE_LAYER_H__
+#define INV_MESSAGE_LAYER_H__
+
+#include "mltypes.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+ /* Level 0 Type Messages */
+ /** A motion event has occured */
+#define INV_MSG_MOTION_EVENT (0x01)
+ /** A no motion event has occured */
+#define INV_MSG_NO_MOTION_EVENT (0x02)
+ /** A setting of the gyro bias has occured */
+#define INV_MSG_NEW_GB_EVENT (0x04)
+ /** A setting of the compass bias has occured */
+#define INV_MSG_NEW_CB_EVENT (0x08)
+ /** A setting of the accel bias has occured */
+#define INV_MSG_NEW_AB_EVENT (0x10)
+
+ void inv_set_message(long set, long clear, int level);
+ long inv_get_message_level_0(int clear);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // INV_MESSAGE_LAYER_H__
|