Bug fix : modify order of sensor_motion_snap_e enum values 58/13558/2 accepted/tizen/ivi/stable accepted/tizen/mobile accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi accepted/tizen_generic accepted/tizen_ivi_panda tizen_3.0.2014.q3_common tizen_3.0.m14.2_ivi tizen_3.0.m14.3_ivi tizen_ivi_panda accepted/tizen/20131210.214035 accepted/tizen/ivi/20140308.005116 accepted/tizen/ivi/panda/20140403.015056 accepted/tizen/mobile/20131216.220407 accepted/tizen/mobile/20140310.024645 submit/tizen/20131210.045140 submit/tizen/20140307.080325 submit/tizen_ivi_panda/20140403.011825 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.2_ivi_release tizen_3.0.m14.3_ivi_release
authorkibak.yoon <kibak.yoon@samsung.com>
Mon, 9 Dec 2013 11:47:47 +0000 (20:47 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Mon, 9 Dec 2013 12:01:04 +0000 (21:01 +0900)
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 <kibak.yoon@samsung.com>
Change-Id: I6cfb4aad6fa567dea828bd8572da454e60427968

include/sensors.h

index e628ed0..7112d39 100755 (executable)
@@ -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 */