Skip to content

Commit

Permalink
Add i2c defaults for Convert to Proton C (qmk#14470)
Browse files Browse the repository at this point in the history
* Add i2c defaults for Convert to Proton C

* Hide default defines behing CTPC check
  • Loading branch information
drashna authored Sep 16, 2021
1 parent d06fdff commit e3a33fb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions platforms/chibios/boards/QMK_PROTON_C/configs/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,12 @@
#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP
# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
#endif

#ifdef CONVERT_TO_PROTON_C
# ifndef I2C1_SDA_PIN
# define I2C1_SDA_PIN D1
# endif
# ifndef I2C1_SCL_PIN
# define I2C1_SCL_PIN D0
# endif
#endif

0 comments on commit e3a33fb

Please sign in to comment.