From: Mu-Woong Lee Date: Tue, 16 Feb 2016 10:35:11 +0000 (+0900) Subject: Rename & reorder sleep stage enum X-Git-Tag: accepted/tizen/ivi/20160316.081210^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F46%2F59546%2F1;p=platform%2Fcore%2Fapi%2Fsensor.git Rename & reorder sleep stage enum Change-Id: I585baf0a3a11b0589383fc0179c690796879b23e Signed-off-by: Mu-Woong Lee --- diff --git a/include/sensor.h b/include/sensor.h index 294432c..f79b76a 100644 --- a/include/sensor.h +++ b/include/sensor.h @@ -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;