summaryrefslogtreecommitdiff
path: root/keyboards/splitkb/kyria/rev2
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-04-06 18:00:54 +1000
committerGitHub <noreply@github.com>2023-04-06 18:00:54 +1000
commit47966dc2a65c88ac90fcd64d12243d72f3f6753b (patch)
treed2f54974c74f66bf11565a64381ea8834f49d481 /keyboards/splitkb/kyria/rev2
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/splitkb/kyria/rev2')
-rw-r--r--keyboards/splitkb/kyria/rev2/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/splitkb/kyria/rev2/config.h b/keyboards/splitkb/kyria/rev2/config.h
index 8b878739fe..1e8dd02727 100644
--- a/keyboards/splitkb/kyria/rev2/config.h
+++ b/keyboards/splitkb/kyria/rev2/config.h
@@ -35,7 +35,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define SERIAL_USART_TX_PIN D3
# define SERIAL_USART_RX_PIN D2
-# define RGB_DI_PIN PAL_LINE(GPIOA, 3)
+# define WS2812_DI_PIN PAL_LINE(GPIOA, 3)
# define WS2812_PWM_DRIVER PWMD2 // default: PWMD2
# define WS2812_PWM_CHANNEL 4 // default: 2
# define WS2812_PWM_PAL_MODE 1 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 2
@@ -43,7 +43,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define WS2812_DMA_CHANNEL 2 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU.
# define WS2812_DMAMUX_ID STM32_DMAMUX1_TIM2_UP // DMAMUX configuration for TIMx_UP -- only required if your MCU has a DMAMUX peripheral, see the respective reference manual for the appropriate values for your MCU.
#else
-# define RGB_DI_PIN D3
+# define WS2812_DI_PIN D3
# define SOFT_SERIAL_PIN D2
#endif