diff options
author | Konstantin Đorđević <vomindoraan@gmail.com> | 2020-04-09 03:51:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-08 18:51:18 -0700 |
commit | 4b10235f6777db3e7a7feab301542a0e78083b20 (patch) | |
tree | c1b5dd84ba93280c957ae5c21046c14f6f948a87 /keyboards/yd60mq/yd60mq.c | |
parent | 6ef13f83e2ffff5537c8565972cd007dad548b66 (diff) | |
download | qmk_firmware-4b10235f6777db3e7a7feab301542a0e78083b20.tar.gz qmk_firmware-4b10235f6777db3e7a7feab301542a0e78083b20.zip |
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
Diffstat (limited to 'keyboards/yd60mq/yd60mq.c')
-rw-r--r-- | keyboards/yd60mq/yd60mq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/yd60mq/yd60mq.c b/keyboards/yd60mq/yd60mq.c index a39af530d..bfe6b6c2d 100644 --- a/keyboards/yd60mq/yd60mq.c +++ b/keyboards/yd60mq/yd60mq.c | |||
@@ -1,10 +1,12 @@ | |||
1 | #include "yd60mq.h" | 1 | #include "yd60mq.h" |
2 | 2 | ||
3 | __attribute__((weak)) | ||
3 | void matrix_init_kb(void){ | 4 | void matrix_init_kb(void){ |
4 | setPinOutput(F4); | 5 | setPinOutput(F4); |
5 | writePinHigh(F4); | 6 | writePinHigh(F4); |
6 | } | 7 | } |
7 | 8 | ||
9 | __attribute__((weak)) | ||
8 | bool led_update_kb(led_t led_state) { | 10 | bool led_update_kb(led_t led_state) { |
9 | bool res = led_update_user(led_state); | 11 | bool res = led_update_user(led_state); |
10 | if (res) { | 12 | if (res) { |