diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2015-04-09 00:42:30 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-06-09 12:10:42 +0000 |
commit | 46ccd63c1daa335e3891003dcd699d1732dfebc5 (patch) | |
tree | b5ca18d56dc4791f7edb44dd5383443ec4dd60b4 /common | |
parent | f58d821a5ac305c963722997713c6fc35a4dc6f7 (diff) | |
download | chrome-ec-46ccd63c1daa335e3891003dcd699d1732dfebc5.tar.gz |
accel: move X,Y,Z definition
Move definition so that we can use it in accel driver.
BUG=None
TEST=Compile
BRANCH=none
Change-Id: I45d16a91d923cb0538b7fdf4110112566c87b6d0
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/269837
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/motion_lid.c | 5 | ||||
-rw-r--r-- | common/motion_sense.c | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/common/motion_lid.c b/common/motion_lid.c index 7bf2c66ac0..1beb79febb 100644 --- a/common/motion_lid.c +++ b/common/motion_lid.c @@ -26,11 +26,6 @@ #define CPRINTS(format, args...) cprints(CC_MOTION_LID, format, ## args) #define CPRINTF(format, args...) cprintf(CC_MOTION_LID, format, ## args) -/* For vector_3_t, define which coordinates are in which location. */ -enum { - X, Y, Z -}; - /* Current acceleration vectors and current lid angle. */ static int lid_angle_deg; static int lid_angle_is_reliable; diff --git a/common/motion_sense.c b/common/motion_sense.c index 27a87e9430..a4efbaa8d6 100644 --- a/common/motion_sense.c +++ b/common/motion_sense.c @@ -32,10 +32,6 @@ /* Time to wait in between failed attempts to initialize sensors */ #define TASK_MOTION_SENSE_WAIT_TIME (500 * MSEC) -/* For vector_3_t, define which coordinates are in which location. */ -enum { - X, Y, Z -}; /* Bounds for setting the sensor polling interval. */ #define MIN_POLLING_INTERVAL_MS 5 |