summaryrefslogtreecommitdiff
path: root/src/app/mpu9250_motionlog
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/mpu9250_motionlog')
-rw-r--r--src/app/mpu9250_motionlog/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/mpu9250_motionlog/main.cc b/src/app/mpu9250_motionlog/main.cc
index 5000732..0bf6fee 100644
--- a/src/app/mpu9250_motionlog/main.cc
+++ b/src/app/mpu9250_motionlog/main.cc
@@ -6,9 +6,9 @@
#include "arch.h"
#include "driver/gpio.h"
#include "driver/stdout.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 "driver/mpu9250.h"