summaryrefslogtreecommitdiff
path: root/board/elm/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/elm/board.h')
-rw-r--r--board/elm/board.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/elm/board.h b/board/elm/board.h
index 29569d5d36..0d50d10944 100644
--- a/board/elm/board.h
+++ b/board/elm/board.h
@@ -74,7 +74,6 @@
#undef CONFIG_UART_CONSOLE
#define CONFIG_UART_CONSOLE 1
#define CONFIG_TEMP_SENSOR
-#define CONFIG_TEMP_SENSOR_TMP432
/* Type-C */
#define CONFIG_USBC_SS_MUX
@@ -169,11 +168,12 @@ enum adc_channel {
};
enum temp_sensor_id {
+#ifdef CONFIG_TEMP_SENSOR_TMP432
/* TMP432 local and remote sensors */
TEMP_SENSOR_I2C_TMP432_LOCAL,
TEMP_SENSOR_I2C_TMP432_REMOTE1,
TEMP_SENSOR_I2C_TMP432_REMOTE2,
-
+#endif
/* Battery temperature sensor */
TEMP_SENSOR_BATTERY,