diff options
author | Joel Challis <[email protected]> | 2020-04-06 21:31:34 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-06 21:31:34 +0100 |
commit | 6c8e205fc0e5bc6372f057a257937ec3f88d5b8d (patch) | |
tree | a720a8700f3d8dbb474b8bd7ba9602b3861fbba2 /keyboards/cannonkeys/stm32f072/keyboard.c | |
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/stm32f072/keyboard.c')
-rw-r--r-- | keyboards/cannonkeys/stm32f072/keyboard.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/keyboards/cannonkeys/stm32f072/keyboard.c b/keyboards/cannonkeys/stm32f072/keyboard.c index fdda018fc4..39f912506d 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: |