summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2018-10-01 14:41:45 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-10-03 21:00:05 -0700
commitae23d068b8830fc613bec9ad95d55a9d8f9ebb4d (patch)
treed8e7a3a1db42db81759eb856b583db3127637b02
parent89e438e5061f11fa3e2e9e2b7b3cf4df088d0a82 (diff)
downloadchrome-ec-ae23d068b8830fc613bec9ad95d55a9d8f9ebb4d.tar.gz
FIXUP: sensor: Add flag for tight timestamping
Add description for tight timestamp in ectool inventory. BUG=b:111079027,b:109786990 BRANCH=none TEST=ectool does not print "Unknown feature" anymore. Change-Id: Id51beb3c9bbd80be6c651b68960c61c9f0708cda Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1256049 Reviewed-by: Alexandru M Stan <amstan@chromium.org> Reviewed-by: Enrico Granata <egranata@chromium.org>
-rw-r--r--util/ectool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/ectool.c b/util/ectool.c
index 7fcc0414d2..a053171ac5 100644
--- a/util/ectool.c
+++ b/util/ectool.c
@@ -637,6 +637,8 @@ static const char * const ec_feature_names[] = {
[EC_FEATURE_HOST_EVENT64] = "64-bit host events",
[EC_FEATURE_EXEC_IN_RAM] = "Execute code in RAM",
[EC_FEATURE_CEC] = "Consumer Electronics Control",
+ [EC_FEATURE_MOTION_SENSE_TIGHT_TIMESTAMPS] =
+ "Tight timestamp for sensors events",
};
int cmd_inventory(int argc, char *argv[])