summaryrefslogtreecommitdiff
path: root/src/driver/lm75.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/lm75.cc')
-rw-r--r--src/driver/lm75.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/lm75.cc b/src/driver/lm75.cc
index 8aab05d..3224d7a 100644
--- a/src/driver/lm75.cc
+++ b/src/driver/lm75.cc
@@ -6,9 +6,9 @@
* Driver for LM75B Digital Temperature Sensor and Thermal Watchdog.
*/
#include "driver/lm75.h"
-#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(CONFIG_driver_softi2c)
+#if defined(CONFIG_meta_driver_hardware_i2c)
#include "driver/i2c.h"
-#else
+#elif defined(CONFIG_driver_softi2c)
#include "driver/soft_i2c.h"
#endif