aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/yd60mq/yd60mq.c
diff options
context:
space:
mode:
authorKonstantin Đorđević <vomindoraan@gmail.com>2020-04-09 03:51:18 +0200
committerGitHub <noreply@github.com>2020-04-08 18:51:18 -0700
commit4b10235f6777db3e7a7feab301542a0e78083b20 (patch)
treec1b5dd84ba93280c957ae5c21046c14f6f948a87 /keyboards/yd60mq/yd60mq.c
parent6ef13f83e2ffff5537c8565972cd007dad548b66 (diff)
downloadfirmware-4b10235f6777db3e7a7feab301542a0e78083b20.tar.gz
firmware-4b10235f6777db3e7a7feab301542a0e78083b20.tar.bz2
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.c2
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 @@
#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) {