diff options
author | Yuval Peress <peress@chromium.org> | 2019-08-13 09:09:02 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-11 19:40:09 +0000 |
commit | 083ced83d71a6ab60204c7ada6c22d9c82731713 (patch) | |
tree | 84d730feb2e51f04bbb991a7aca4db54bfe7de8d /test/motion_sense_fifo.tasklist | |
parent | 9f151350684fee0ac14deed0ce31ddfd520b2a36 (diff) | |
download | chrome-ec-083ced83d71a6ab60204c7ada6c22d9c82731713.tar.gz |
common: Refactor motion_sense_fifo
This change refactors the motion_sense_fifo to uniformly prefix
all the functions to avoid collisions. It also adds several unit
tests and fixes a few bugs with the fifo logic.
BUG=b:137758297
BRANCH=kukui
TEST=buildall
TEST=run CTS on arcada, kohaku, and kukui
TEST=boot kohaku (verify tablet mode works as expected)
Change-Id: I6e8492ae5fa474d0aa870088ab56f76b220a73e3
Signed-off-by: Yuval Peress <peress@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1835221
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'test/motion_sense_fifo.tasklist')
-rw-r--r-- | test/motion_sense_fifo.tasklist | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/motion_sense_fifo.tasklist b/test/motion_sense_fifo.tasklist new file mode 100644 index 0000000000..0e3696c3f0 --- /dev/null +++ b/test/motion_sense_fifo.tasklist @@ -0,0 +1,10 @@ +/* Copyright 2019 The Chromium OS Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +/** + * See CONFIG_TASK_LIST in config.h for details. + */ +#define CONFIG_TEST_TASK_LIST \ + TASK_TEST(MOTIONSENSE, motion_sense_task, NULL, TASK_STACK_SIZE) |