From: kibak.yoon Date: Mon, 9 Dec 2013 11:47:47 +0000 (+0900) Subject: Bug fix : modify order of sensor_motion_snap_e enum values X-Git-Tag: accepted/tizen/20131210.214035^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_ivi_panda;p=platform%2Fcore%2Fapi%2Fsensor.git 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 --- 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 */