From 0db78786cc9962dcd7f55b14f42625baa91596dc Mon Sep 17 00:00:00 2001 From: flywoo Date: Tue, 9 Oct 2018 12:55:58 +0800 Subject: [PATCH] modify the scl pin -PB8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit simplify delete description file delete description file Update target.h FLYWOO: Update target definition for SCL pin Edit the format modify the scl pin -PB8 simplify rewrite Delete ! --- docs/boards/Board - FLYWOOF405.md | 2 +- src/main/target/KAKUTEF4/target.h | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/docs/boards/Board - FLYWOOF405.md b/docs/boards/Board - FLYWOOF405.md index 333a7a368..b7f5787e4 100755 --- a/docs/boards/Board - FLYWOOF405.md +++ b/docs/boards/Board - FLYWOOF405.md @@ -27,7 +27,7 @@ This board use the STM32F405RGT6 microcontroller and have the following features | Value | Identifier | function | pin | Notes | | ----- | ------------ | ---------| -------| ------------------------------------------------------------------------------------- | | 1 | I2C1 | SDA | PB9 | with GPS outlet -| 2 | I2C1 | SCL | PB6 | with GPS outlet +| 2 | I2C1 | SCL | PB8 | with GPS outlet ### Buzzer/LED output diff --git a/src/main/target/KAKUTEF4/target.h b/src/main/target/KAKUTEF4/target.h index 556c78c37..26247cd2b 100644 --- a/src/main/target/KAKUTEF4/target.h +++ b/src/main/target/KAKUTEF4/target.h @@ -88,12 +88,7 @@ #define USE_I2C_DEVICE_1 #define I2C_DEVICE (I2CDEV_1) -#if defined(FLYWOOF405) -#define I2C1_SCL PB6 -#else #define I2C1_SCL PB8 // SCL pad -#endif - #define I2C1_SDA PB9 // SDA pad #define BARO_I2C_INSTANCE I2C_DEVICE #define MAG_I2C_INSTANCE I2C_DEVICE