diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-12-25 23:23:43 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-12-25 23:23:43 +0100 |
commit | 05644dec7f2ecffa26dc04b9be8d6ad03a2e79ea (patch) | |
tree | 09b59ff8c5cf87074344783ef463fc91d3481e7c | |
parent | 4ed7ba5f10578d3639578de8b4e457e66104571a (diff) |
mpu9250: update softi2c check
-rw-r--r-- | src/driver/mpu9250.cc | 4 |
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> |