aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/cannonkeys/stm32f072/keyboard.c
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-04-06 21:31:34 +0100
committerGitHub <noreply@github.com>2020-04-06 21:31:34 +0100
commit6c8e205fc0e5bc6372f057a257937ec3f88d5b8d (patch)
treea720a8700f3d8dbb474b8bd7ba9602b3861fbba2 /keyboards/cannonkeys/stm32f072/keyboard.c
parent79010067539ad2043bd41e9701aa1cde21aec5d1 (diff)
downloadfirmware-6c8e205fc0e5bc6372f057a257937ec3f88d5b8d.tar.gz
firmware-6c8e205fc0e5bc6372f057a257937ec3f88d5b8d.tar.bz2
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.c16
1 files changed, 0 insertions, 16 deletions
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: