From 4b10235f6777db3e7a7feab301542a0e78083b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20=C4=90or=C4=91evi=C4=87?= Date: Thu, 9 Apr 2020 03:51:18 +0200 Subject: Set the correct RGB LED count on YD60MQ (#8629) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- keyboards/yd60mq/yd60mq.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'keyboards/yd60mq/yd60mq.c') diff --git a/keyboards/yd60mq/yd60mq.c b/keyboards/yd60mq/yd60mq.c index a39af530d7..bfe6b6c2de 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) { -- cgit v1.2.3