summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorYuval Peress <peress@chromium.org>2019-10-01 10:42:28 -0600
committerCommit Bot <commit-bot@chromium.org>2019-12-19 02:35:16 +0000
commit267da3cfcd4afc309a99f292f8670eed2f141862 (patch)
treef790282d67dba522889e3e7e310484986ab62c07 /util
parent78c2dcc67c38f7a1b6c649088c3cfa5a7bbfc250 (diff)
downloadchrome-ec-267da3cfcd4afc309a99f292f8670eed2f141862.tar.gz
common: Add feature flag for online calibration
This change adds a feature flag for online calibration. BUG=b:138303429,chromium:1023858 BRANCH=None TEST=buildall since flag is not yet used Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: I3036371a7499bf0eaf0846ff07eec6e6ee18a391 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1834021 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Commit-Queue: Yuval Peress <peress@chromium.org> Tested-by: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'util')
-rw-r--r--util/ectool.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/util/ectool.c b/util/ectool.c
index 78059039d5..fca417d6a3 100644
--- a/util/ectool.c
+++ b/util/ectool.c
@@ -4756,11 +4756,15 @@ static int cmd_motionsense(int argc, char **argv)
if (version >= 3) {
printf("Min Frequency: %d mHz\n",
- resp->info_3.min_frequency);
+ resp->info_3.min_frequency);
printf("Max Frequency: %d mHz\n",
- resp->info_3.max_frequency);
+ resp->info_3.max_frequency);
printf("FIFO Max Event Count: %d\n",
- resp->info_3.fifo_max_event_count);
+ resp->info_3.fifo_max_event_count);
+ }
+ if (version >= 4) {
+ printf("Flags: %d\n",
+ resp->info_4.flags);
}
return 0;
}