Fix the values of sensor_util_axis_e 55/59255/1 accepted/tizen/ivi/20160218.023437 accepted/tizen/mobile/20160212.050145 accepted/tizen/tv/20160212.050156 accepted/tizen/wearable/20160212.050153 submit/tizen/20160212.020348 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
authorMu-Woong Lee <muwoong.lee@samsung.com>
Fri, 12 Feb 2016 01:59:26 +0000 (10:59 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Fri, 12 Feb 2016 01:59:26 +0000 (10:59 +0900)
Change-Id: If763d247208ee5cb2192bc5331dba7897b836f8a
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
include/sensor.h

index 254ae6fed203ad11289a45efb1a214d759a49e02..02c6bd17a794eeee1671e1bd5a8b2aada3a27e28 100644 (file)
@@ -618,23 +618,27 @@ int sensor_get_max_batch_count(sensor_h sensor, int *max_batch_count);
  */
 
 /**
- * @brief  Enumeration of the axis used in #sensor_util_remap_coordinate_system.
+ * @brief   Enumeration of the axis used in sensor_util_remap_coordinate_system().
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- *
- * @see #sensor_util_remap_coordinate_system
  */
 typedef enum
 {
-    sensor_util_axis_minus_x,
-    sensor_util_axis_minus_y,
-    sensor_util_axis_minus_z,
-    sensor_util_axis_x,
-    sensor_util_axis_y,
-    sensor_util_axis_z,
+    SENSOR_UTIL_AXIS_X = 0x01,          /**< +X */
+    SENSOR_UTIL_AXIS_Y = 0x02,          /**< +Y */
+    SENSOR_UTIL_AXIS_Z = 0x03,          /**< +Z */
+    SENSOR_UTIL_AXIS_MINUS_X = 0x81,    /**< -X */
+    SENSOR_UTIL_AXIS_MINUS_Y = 0x82,    /**< -Y */
+    SENSOR_UTIL_AXIS_MINUS_Z = 0x83,    /**< -Z */
+    sensor_util_axis_x = 0x01,
+    sensor_util_axis_y = 0x02,
+    sensor_util_axis_z = 0x03,
+    sensor_util_axis_minus_x = 0x81,
+    sensor_util_axis_minus_y = 0x82,
+    sensor_util_axis_minus_z = 0x83,
 } sensor_util_axis_e;
 
 /**
- * @brief Gets the Inclination matrix "I" and Rotation matrix "R" transforming a vector from the device coordinate to the world's coordinate.
+ * @brief   Gets the inclination matrix "I" and rotation matrix "R" transforming a vector from the device coordinate to the world's coordinate.
  *
  * @details [0 0 g] = R * gravity (g = magnitude of gravity) \n
  *          [0 m 0] = I * R * geomagnetic (m = magnitude of the geomagnetic field) \n