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, 4 insertions, 0 deletions
diff --git a/src/driver/lm75.cc b/src/driver/lm75.cc
index 0bad4a7..9f20e9b 100644
--- a/src/driver/lm75.cc
+++ b/src/driver/lm75.cc
@@ -1,5 +1,9 @@
#include "driver/lm75.h"
+#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(DRIVER_SOFTI2C)
#include "driver/i2c.h"
+#else
+#include "driver/soft_i2c.h"
+#endif
float LM75::getTemp()
{