summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/driver/mpu9250.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/mpu9250.cc b/src/driver/mpu9250.cc
index 3ad91c7..5a2f698 100644
--- a/src/driver/mpu9250.cc
+++ b/src/driver/mpu9250.cc
@@ -1,8 +1,8 @@
#include "driver/mpu9250.h"
#include "arch.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 <stdint.h>