Rename & reorder sleep stage enum 46/59546/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Tue, 16 Feb 2016 10:35:11 +0000 (19:35 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Tue, 16 Feb 2016 10:35:11 +0000 (19:35 +0900)
Change-Id: I585baf0a3a11b0589383fc0179c690796879b23e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
include/sensor.h

index 294432c..f79b76a 100644 (file)
@@ -134,7 +134,7 @@ typedef enum
  */
 typedef enum
 {
-       SENSOR_PEDOMETER_STATE_UNKNOWN = 0, /**< Uncertain */
+       SENSOR_PEDOMETER_STATE_UNKNOWN = -1, /**< Uncertain */
        SENSOR_PEDOMETER_STATE_STOP,        /**< The user is not moving */
        SENSOR_PEDOMETER_STATE_WALK,        /**< The user is walking */
        SENSOR_PEDOMETER_STATE_RUN,         /**< The user is running */
@@ -149,9 +149,9 @@ typedef enum
  */
 typedef enum
 {
-       SENSOR_SLEEP_STATE_UNKNOWN = 0, /**< Uncertain */
-       SENSOR_SLEEP_STATE_SLEEP,       /**< The user is asleep */
-       SENSOR_SLEEP_STATE_AWAKE,       /**< The user is awake */
+       SENSOR_SLEEP_STATE_UNKNOWN = -1, /**< Uncertain */
+       SENSOR_SLEEP_STATE_WAKE,         /**< The user is awake */
+       SENSOR_SLEEP_STATE_SLEEP,        /**< The user is asleep */
 } sensor_sleep_state_e;