diff options
author | Dawid Niedzwiecki <dn@semihalf.com> | 2021-11-18 11:37:46 +0100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-12-06 23:45:59 +0000 |
commit | ee9053226b1118f797d16fbb3490c26178ee5a6e (patch) | |
tree | 7bd505b709c1622f1aa508fd1ccb0d06444da12d /zephyr/shim/include/board.h | |
parent | ee5fe104f5378a17de5a24438500f9e3eccfa08d (diff) | |
download | chrome-ec-ee9053226b1118f797d16fbb3490c26178ee5a6e.tar.gz |
zephyr: move probing of alt sensors to a function
Remove a function to probe all alternate motion sensors, but prepare a
function to probe a specific sensor. It introduces more flexibility.
Also, create a separated header file motionsense_sensors_defs.h with
definitions needed in board.h.
BUG=b:202451919
TEST=zmake testall & test if an alternate sensors are used as it is done
in CL:3310639
BRANCH=main
Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
Change-Id: Ibfab10cbff39e17c8a86aad0c6d7c5897285a0a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3289415
Commit-Queue: Keith Short <keithshort@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/shim/include/board.h')
-rw-r--r-- | zephyr/shim/include/board.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/shim/include/board.h b/zephyr/shim/include/board.h index a1059eb426..5d480b5615 100644 --- a/zephyr/shim/include/board.h +++ b/zephyr/shim/include/board.h @@ -30,7 +30,7 @@ /* Include board specific sensor configuration if motionsense is enabled */ #ifdef CONFIG_MOTIONSENSE -#include "motionsense_sensors.h" +#include "motionsense_sensors_defs.h" #endif #endif /* __BOARD_H */ |