mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +00:00
motion: make fiforead optional
This command is rarely used, make it optional when sensor fifo is enabled. BUG=none BRANCH=kevin TEST=compile Change-Id: I2b8351924697953d8df08a0724b5968948603222 Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/382676 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
76e66c04f3
commit
c96d0418f8
@@ -1479,7 +1479,7 @@ DECLARE_CONSOLE_COMMAND(accelinfo, command_display_accel_info,
|
||||
" and set calculation frequency.");
|
||||
#endif /* CONFIG_CMD_ACCEL_INFO */
|
||||
|
||||
#ifdef CONFIG_ACCEL_FIFO
|
||||
#ifdef CONFIG_CMD_ACCEL_FIFO
|
||||
static int motion_sense_read_fifo(int argc, char **argv)
|
||||
{
|
||||
int count, i;
|
||||
|
||||
@@ -555,6 +555,7 @@
|
||||
*/
|
||||
|
||||
#undef CONFIG_CMD_ACCELS
|
||||
#undef CONFIG_CMD_ACCEL_FIFO
|
||||
#undef CONFIG_CMD_ACCEL_INFO
|
||||
#undef CONFIG_CMD_ALS
|
||||
#define CONFIG_CMD_APTHROTTLE
|
||||
|
||||
Reference in New Issue
Block a user