summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/bme680_util.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/driver/bme680_util.cc b/src/driver/bme680_util.cc
index cb9b529..653403e 100644
--- a/src/driver/bme680_util.cc
+++ b/src/driver/bme680_util.cc
@@ -1,5 +1,9 @@
#include "arch.h"
+#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(DRIVER_SOFTI2C)
#include "driver/i2c.h"
+#else
+#include "driver/soft_i2c.h"
+#endif
#include <stdint.h>
void bme680_delay_ms(uint32_t const period)