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/chibios | |
parent | 23bdcb119daddc99b988d322f9bc078e3df421d7 (diff) |
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/chibios')
-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 a73f0c0b47..fa1a73c354 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 @@ #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 |