From 9cad1630300e821da748362d63fc9f50236e324f Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Fri, 1 Aug 2014 01:26:36 +0100 Subject: [PATCH] OLIMEXINO - Use I2C2. --- src/main/target/OLIMEXINO/target.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/target/OLIMEXINO/target.h b/src/main/target/OLIMEXINO/target.h index 61b49fa94..5182c563f 100644 --- a/src/main/target/OLIMEXINO/target.h +++ b/src/main/target/OLIMEXINO/target.h @@ -40,7 +40,7 @@ #define GYRO #define MAG -#define I2C_DEVICE (I2CDEV_1) +#define I2C_DEVICE (I2CDEV_2) // #define SOFT_I2C // enable to test software i2c // #define SOFT_I2C_PB1011 // If SOFT_I2C is enabled above, need to define pinout as well (I2C1 = PB67, I2C2 = PB1011)