summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/k3_pro/mcuconf.h
diff options
context:
space:
mode:
authorlokher <lokher@gmail.com>2023-01-07 13:30:18 +0800
committerlokher <lokher@gmail.com>2023-01-07 13:32:41 +0800
commitbbe437487d4da158376a9f55c589acebc3396ff0 (patch)
treeaad291ac579896eeb916ceee82bf945ed7d9a2a4 /keyboards/keychron/k3_pro/mcuconf.h
parentf5d737cbbd0723f37a746ed0620f70c634bbb26a (diff)
fix incorrect LED_CAPS_LOCK_PIN and use SPI to drive HC595 in k3_pro
Diffstat (limited to 'keyboards/keychron/k3_pro/mcuconf.h')
-rw-r--r--keyboards/keychron/k3_pro/mcuconf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/keychron/k3_pro/mcuconf.h b/keyboards/keychron/k3_pro/mcuconf.h
index 4dae767a44..2e17094d3b 100644
--- a/keyboards/keychron/k3_pro/mcuconf.h
+++ b/keyboards/keychron/k3_pro/mcuconf.h
@@ -30,6 +30,9 @@
#undef STM32_I2C_USE_I2C1
#define STM32_I2C_USE_I2C1 TRUE
+#undef STM32_SPI_USE_SPI1
+#define STM32_SPI_USE_SPI1 TRUE
+
#ifdef KC_BLUETOOTH_ENABLE
# undef STM32_SERIAL_USE_USART2
# define STM32_SERIAL_USE_USART2 TRUE