diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2019-01-23 14:03:12 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2019-01-25 17:42:54 +0000 |
commit | a948e0e1d3c97c3e59ef45dc5767c69a1bd2254a (patch) | |
tree | e383cbf4514650edd44e04bfd823003fe23d310a | |
parent | d10e14b37909545f161b40f8a1d9cfb041356d21 (diff) | |
download | chrome-ec-a948e0e1d3c97c3e59ef45dc5767c69a1bd2254a.tar.gz |
nautilus: Reduce FIFO size to 256 to pass cts.SensorBatchingTests
When FIFO is set to 512, at 50Hz, there is ~340 events in each dump,
7s between events dump.
This is too long for the test, it fails with:
...
Failed due to (insufficient events 346/400, )
...
BRANCH=poppy
TEST=Pass cts.SensorBatchingTests
BUG=b:123172158
Change-Id: I79d385a4dd69cc18ab7c8eec626f959334929ea5
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/1431873
Reviewed-by: Enrico Granata <egranata@chromium.org>
-rw-r--r-- | board/nautilus/board.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/nautilus/board.h b/board/nautilus/board.h index bf81ae92fd..821c5e4ec5 100644 --- a/board/nautilus/board.h +++ b/board/nautilus/board.h @@ -138,7 +138,7 @@ #define CONFIG_EC_MAX_SENSOR_FREQ_MILLIHZ 100000 /* FIFO size is in power of 2. */ -#define CONFIG_ACCEL_FIFO 512 +#define CONFIG_ACCEL_FIFO 256 /* Depends on how fast the AP boots and typical ODRs */ #define CONFIG_ACCEL_FIFO_THRES (CONFIG_ACCEL_FIFO / 3) |