From 6c8e205fc0e5bc6372f057a257937ec3f88d5b8d Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Mon, 6 Apr 2020 21:31:34 +0100 Subject: Remove keyboard level ws2812 spi drivers (#7694) --- keyboards/projectkb/alice/config.h | 7 ++----- keyboards/projectkb/alice/rules.mk | 1 + 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'keyboards/projectkb') diff --git a/keyboards/projectkb/alice/config.h b/keyboards/projectkb/alice/config.h index 262abdeb18..61648dc7db 100644 --- a/keyboards/projectkb/alice/config.h +++ b/keyboards/projectkb/alice/config.h @@ -49,11 +49,8 @@ along with this program. If not, see . #define LOCKING_RESYNC_ENABLE #define RGBLIGHT_ANIMATIONS - -#define WS2812_LED_N 14 -#define RGBLED_NUM WS2812_LED_N -#define PORT_WS2812 GPIOB -#define PIN_WS2812 15 +#define RGB_DI_PIN B15 +#define RGBLED_NUM 14 #define WS2812_SPI SPID2 // Backlight config starts after VIA's EEPROM usage, diff --git a/keyboards/projectkb/alice/rules.mk b/keyboards/projectkb/alice/rules.mk index 503bc7ad70..3bb6531af6 100644 --- a/keyboards/projectkb/alice/rules.mk +++ b/keyboards/projectkb/alice/rules.mk @@ -21,6 +21,7 @@ NKRO_ENABLE = yes # USB Nkey Rollover CUSTOM_MATRIX = no # Custom matrix file # BACKLIGHT_ENABLE = yes # This is broken on 072 for some reason RGBLIGHT_ENABLE = yes +WS2812_DRIVER = spi # RAW_ENABLE = yes # DYNAMIC_KEYMAP_ENABLE = yes -- cgit v1.2.3