1
0
Fork 0

Remove keyboard level ws2812 spi drivers (#7694)

This commit is contained in:
Joel Challis 2020-04-06 21:31:34 +01:00 committed by GitHub
parent 7901006753
commit 6c8e205fc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 31 additions and 126 deletions

View file

@ -14,20 +14,7 @@
#endif
void matrix_init_kb(void){
/* MOSI pin*/
palSetPadMode(GPIOB, 15, PAL_MODE_STM32_ALTERNATE_PUSHPULL);
LED_ON();
wait_ms(500);
LED_OFF();
#ifdef RGBLIGHT_ENABLE
leds_init();
#endif
}
void matrix_scan_kb(void)
{
#ifdef RGBLIGHT_ENABLE
rgblight_task();
#endif
}