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/cannonkeys/stm32f072/keyboard.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'keyboards/cannonkeys/stm32f072/keyboard.c') diff --git a/keyboards/cannonkeys/stm32f072/keyboard.c b/keyboards/cannonkeys/stm32f072/keyboard.c index fdda018fc..39f912506 100644 --- a/keyboards/cannonkeys/stm32f072/keyboard.c +++ b/keyboards/cannonkeys/stm32f072/keyboard.c @@ -5,8 +5,6 @@ #include "util.h" #include "quantum.h" -#include "ws2812.h" - #include "raw_hid.h" #include "dynamic_keymap.h" #include "tmk_core/common/eeprom.h" @@ -58,25 +56,11 @@ void matrix_init_kb(void){ via_init_kb(); via_eeprom_set_valid(true); #endif // VIA_ENABLE - /* MOSI pin*/ -#ifdef RGBLIGHT_ENABLE - palSetPadMode(PORT_WS2812, PIN_WS2812, PAL_MODE_ALTERNATE(0)); - wait_ms(500); - leds_init(); -#endif backlight_init_ports(); matrix_init_board(); } -void matrix_scan_kb(void) -{ - #ifdef RGBLIGHT_ENABLE - rgblight_task(); - #endif - matrix_scan_user(); -} - bool process_record_kb(uint16_t keycode, keyrecord_t *record) { switch (keycode) { case BL_INC: -- cgit v1.2.3