From 522048725f6b076bdad1251243c65dd2acf6595d Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 8 Apr 2023 18:08:08 +1000 Subject: Move `RGB_MATRIX_DRIVER` to data driven (#20350) --- keyboards/cannonkeys/ripple/info.json | 5 ++++- keyboards/cannonkeys/ripple/rules.mk | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'keyboards/cannonkeys') diff --git a/keyboards/cannonkeys/ripple/info.json b/keyboards/cannonkeys/ripple/info.json index 63564ae7ce..66ca4e8695 100644 --- a/keyboards/cannonkeys/ripple/info.json +++ b/keyboards/cannonkeys/ripple/info.json @@ -23,9 +23,12 @@ "backlight": true, "rgblight": true }, + "ws2812": { + "pin": "B15", + "driver": "spi" + }, "rgblight": { "led_count": 20, - "pin": "B15", "hue_steps": 17, "saturation_steps": 17, "brightness_steps": 17, diff --git a/keyboards/cannonkeys/ripple/rules.mk b/keyboards/cannonkeys/ripple/rules.mk index 2f5938630c..2a5031cd32 100644 --- a/keyboards/cannonkeys/ripple/rules.mk +++ b/keyboards/cannonkeys/ripple/rules.mk @@ -1,7 +1,5 @@ # Wildcard to allow APM32 MCU DFU_SUFFIX_ARGS = -v FFFF -p FFFF -WS2812_DRIVER = spi - # Enter lower-power sleep mode when on the ChibiOS idle thread OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -- cgit v1.2.3