summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/config.h b/include/config.h
index 848f1ec49c..a2a27c3aa6 100644
--- a/include/config.h
+++ b/include/config.h
@@ -736,6 +736,7 @@
#undef CONFIG_CMD_ACCEL_FIFO
#undef CONFIG_CMD_ACCEL_INFO
#define CONFIG_CMD_ACCELSPOOF
+#define CONFIG_CMD_ADC
#undef CONFIG_CMD_ALS
#define CONFIG_CMD_APTHROTTLE
#undef CONFIG_CMD_BATDEBUG
@@ -3305,13 +3306,15 @@
#undef CONFIG_HOSTCMD_PD
#endif
-/*
- * Power Average task only works when there's a battery to talk to.
- */
+/* Certain console cmds are irrelevant without parent modules. */
#ifndef CONFIG_BATTERY
#undef CONFIG_CMD_PWR_AVG
#endif
+#ifndef CONFIG_ADC
+#undef CONFIG_CMD_ADC
+#endif
+
/*****************************************************************************/
/*
* Apply test config overrides last, since tests need to override some of the