~ruther/qmk_firmware

c060ab4e6432c0a71adfa0634ea9fe2e5fcb747f — Drashna Jaelre 4 years ago 23bdcb1
Add i2c defaults for Convert to Proton C (#14470)

* Add i2c defaults for Convert to Proton C

* Hide default defines behing CTPC check
1 files changed, 9 insertions(+), 0 deletions(-)

M platforms/chibios/boards/QMK_PROTON_C/configs/config.h
M platforms/chibios/boards/QMK_PROTON_C/configs/config.h => platforms/chibios/boards/QMK_PROTON_C/configs/config.h +9 -0
@@ 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