diff options
author | Joel Challis <git@zvecr.com> | 2020-04-06 21:31:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-06 21:31:34 +0100 |
commit | 6c8e205fc0e5bc6372f057a257937ec3f88d5b8d (patch) | |
tree | a720a8700f3d8dbb474b8bd7ba9602b3861fbba2 /keyboards/cannonkeys/savage65 | |
parent | 79010067539ad2043bd41e9701aa1cde21aec5d1 (diff) | |
download | qmk_firmware-6c8e205fc0e5bc6372f057a257937ec3f88d5b8d.tar.gz qmk_firmware-6c8e205fc0e5bc6372f057a257937ec3f88d5b8d.zip |
Remove keyboard level ws2812 spi drivers (#7694)
Diffstat (limited to 'keyboards/cannonkeys/savage65')
-rw-r--r-- | keyboards/cannonkeys/savage65/config.h | 7 | ||||
-rw-r--r-- | keyboards/cannonkeys/savage65/rules.mk | 2 |
2 files changed, 3 insertions, 6 deletions
diff --git a/keyboards/cannonkeys/savage65/config.h b/keyboards/cannonkeys/savage65/config.h index 0839c0111e..9c4dbdec42 100644 --- a/keyboards/cannonkeys/savage65/config.h +++ b/keyboards/cannonkeys/savage65/config.h @@ -49,11 +49,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define LOCKING_RESYNC_ENABLE #define RGBLIGHT_ANIMATIONS - -#define WS2812_LED_N 20 -#define RGBLED_NUM WS2812_LED_N -#define PORT_WS2812 GPIOB -#define PIN_WS2812 15 +#define RGB_DI_PIN B15 +#define RGBLED_NUM 20 #define WS2812_SPI SPID2 // Backlight config starts after VIA's EEPROM usage, diff --git a/keyboards/cannonkeys/savage65/rules.mk b/keyboards/cannonkeys/savage65/rules.mk index bf4b9a2897..86f6b4e0f4 100644 --- a/keyboards/cannonkeys/savage65/rules.mk +++ b/keyboards/cannonkeys/savage65/rules.mk @@ -21,7 +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 # Enter lower-power sleep mode when on the ChibiOS idle thread OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |