diff options
| author | Drashna Jaelre <drashna@live.com> | 2021-09-16 13:40:25 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-16 21:40:25 +0100 |
| commit | c060ab4e6432c0a71adfa0634ea9fe2e5fcb747f (patch) | |
| tree | 29c57732eee9bca050cb6e4d79dc2b7e35c534df /platforms | |
| parent | 23bdcb119daddc99b988d322f9bc078e3df421d7 (diff) | |
| download | qmk_firmware-c060ab4e6432c0a71adfa0634ea9fe2e5fcb747f.tar.gz qmk_firmware-c060ab4e6432c0a71adfa0634ea9fe2e5fcb747f.zip | |
Add i2c defaults for Convert to Proton C (#14470)
* Add i2c defaults for Convert to Proton C
* Hide default defines behing CTPC check
Diffstat (limited to 'platforms')
| -rw-r--r-- | platforms/chibios/boards/QMK_PROTON_C/configs/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/platforms/chibios/boards/QMK_PROTON_C/configs/config.h b/platforms/chibios/boards/QMK_PROTON_C/configs/config.h index a73f0c0b4..fa1a73c35 100644 --- a/platforms/chibios/boards/QMK_PROTON_C/configs/config.h +++ b/platforms/chibios/boards/QMK_PROTON_C/configs/config.h | |||
| @@ -18,3 +18,12 @@ | |||
| 18 | #ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP | 18 | #ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP |
| 19 | # define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE | 19 | # define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE |
| 20 | #endif | 20 | #endif |
| 21 | |||
| 22 | #ifdef CONVERT_TO_PROTON_C | ||
| 23 | # ifndef I2C1_SDA_PIN | ||
| 24 | # define I2C1_SDA_PIN D1 | ||
| 25 | # endif | ||
| 26 | # ifndef I2C1_SCL_PIN | ||
| 27 | # define I2C1_SCL_PIN D0 | ||
| 28 | # endif | ||
| 29 | #endif | ||
