diff options
author | Joel Challis <git@zvecr.com> | 2021-09-12 15:41:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-12 15:41:33 +0100 |
commit | 0fa217a5b7cdd035105387fd31c506fda4cfb945 (patch) | |
tree | 1ba0df8f6cb8462fcc3517f7a090ad7c72123038 /keyboards/handwired/tractyl_manuform | |
parent | bb841087bbd47b0be6dffafa8a4f7a361867f71d (diff) |
Align ChibiOS I2C defs with other drivers (#14399)
* Align ChibiOS I2C defs with other drivers
* Update keyboards/xelus/valor_frl_tkl/config.h
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/handwired/tractyl_manuform')
-rw-r--r-- | keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h index 0e5b72c56b..983b7b11b7 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h +++ b/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h @@ -71,10 +71,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* i2c config for oleds */ #define I2C_DRIVER I2CD1 -#define I2C1_SCL_BANK GPIOB -#define I2C1_SDA_BANK GPIOB -#define I2C1_SCL 8 -#define I2C1_SDA 9 +#define I2C1_SCL_PIN B8 +#define I2C1_SDA_PIN B9 #define I2C1_SCL_PAL_MODE 4 #define I2C1_SDA_PAL_MODE 4 #define I2C1_CLOCK_SPEED 400000 |