summaryrefslogtreecommitdiff
path: root/src/driver/ds2482.cc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-12-31 15:30:52 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-12-31 15:30:52 +0100
commit44c73e7330aaa7d1411a8fd48b85d1b95bdc2b6b (patch)
tree84d3efb8c107ac9410af3602e3035f8e4125b62d /src/driver/ds2482.cc
parentd3e2b724b4f924b9839f2896db4455c2564cf29d (diff)
Use CONFIG_meta_driver_hardware_i2c instead of MULTIPASS_ARCH_HAS_I2C
Diffstat (limited to 'src/driver/ds2482.cc')
-rw-r--r--src/driver/ds2482.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/ds2482.cc b/src/driver/ds2482.cc
index 92bd9dd..929b9be 100644
--- a/src/driver/ds2482.cc
+++ b/src/driver/ds2482.cc
@@ -6,9 +6,9 @@
* DS2482-100 Single-Channel 1-Wire Master
*/
#include "driver/ds2482.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
#include "arch.h"