summaryrefslogtreecommitdiff
path: root/src/driver/scd4x.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/scd4x.cc')
-rw-r--r--src/driver/scd4x.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/scd4x.cc b/src/driver/scd4x.cc
index d129bf7..dfb6ee0 100644
--- a/src/driver/scd4x.cc
+++ b/src/driver/scd4x.cc
@@ -5,9 +5,9 @@
*/
#include "driver/scd4x.h"
#include "driver/gpio.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