summaryrefslogtreecommitdiff
path: root/platforms/chibios/boards/QMK_PROTON_C
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-09-16 13:40:25 -0700
committerGitHub <noreply@github.com>2021-09-16 21:40:25 +0100
commitc060ab4e6432c0a71adfa0634ea9fe2e5fcb747f (patch)
tree29c57732eee9bca050cb6e4d79dc2b7e35c534df /platforms/chibios/boards/QMK_PROTON_C
parent23bdcb119daddc99b988d322f9bc078e3df421d7 (diff)
downloadqmk_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/chibios/boards/QMK_PROTON_C')
-rw-r--r--platforms/chibios/boards/QMK_PROTON_C/configs/config.h9
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