diff --git a/common/motion_sense.c b/common/motion_sense.c index 369ef730a9..662f07a692 100644 --- a/common/motion_sense.c +++ b/common/motion_sense.c @@ -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; diff --git a/include/config.h b/include/config.h index c1f3a33767..df972df887 100644 --- a/include/config.h +++ b/include/config.h @@ -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