1
0
Fork 0

Set the correct RGB LED count on YD60MQ (#8629)

* Fix RGB LED count on YD60MQ

* Split YD60MQ into 12-LED and 16-LED revisions

* Update readmes

* Make 12led the default version

* Readd base rules.mk, version→variant in readme

* Add syntax highlighting to code blocks in readme
This commit is contained in:
Konstantin Đorđević 2020-04-09 03:51:18 +02:00 committed by GitHub
parent 6ef13f83e2
commit 4b10235f67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 34 additions and 7 deletions

View file

@ -1,10 +1,12 @@
#include "yd60mq.h"
__attribute__((weak))
void matrix_init_kb(void){
setPinOutput(F4);
writePinHigh(F4);
}
__attribute__((weak))
bool led_update_kb(led_t led_state) {
bool res = led_update_user(led_state);
if (res) {