From 27e942b01a6edc3748961c5c81f2b55586b5ca14 Mon Sep 17 00:00:00 2001 From: "kibak.yoon" Date: Mon, 9 Dec 2013 20:47:47 +0900 Subject: [PATCH] Bug fix : modify order of sensor_motion_snap_e enum values Compile time error with sensor_motion_snap_e enum values usages. because SENSOR_MOTION_SNAP_Y_POSITIVE(2) has same value as SENSOR_MOTION_SNAP_X_POSITIVE(2) Signed-off-by: kibak.yoon Change-Id: I6cfb4aad6fa567dea828bd8572da454e60427968 --- include/sensors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sensors.h b/include/sensors.h index e628ed0..7112d39 100755 --- a/include/sensors.h +++ b/include/sensors.h @@ -108,8 +108,8 @@ typedef enum typedef enum { SENSOR_MOTION_SNAP_NONE, /**< No Snap */ - SENSOR_MOTION_SNAP_LEFT, /**< Snap left to right */ SENSOR_MOTION_SNAP_RIGHT, /**< Snap right to left */ + SENSOR_MOTION_SNAP_LEFT, /**< Snap left to right */ SENSOR_MOTION_SNAP_X_POSITIVE = SENSOR_MOTION_SNAP_RIGHT, /**< Snap to positive direction in X-axis, it is the same as @SENSOR_MOTION_SNAP_RIGHT */ SENSOR_MOTION_SNAP_X_NEGATIVE = SENSOR_MOTION_SNAP_LEFT, /**< Snap to negative direction in X-axis, it is the same as @SENSOR_MOTION_SNAP_LEFT */ SENSOR_MOTION_SNAP_Y_POSITIVE, /**< Snap to positive direction in Y-axis */ -- 2.7.4