From ae87fe14f8ef90d04ed27e88bd01c4b9832d2409 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 25 Sep 2019 16:06:19 +0200 Subject: bme680: Support SoftI2C --- src/driver/bme680_util.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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 void bme680_delay_ms(uint32_t const period) -- cgit v1.2.3