From: dungdung Date: Wed, 8 Feb 2017 00:55:40 +0000 (-0800) Subject: Moved KC60 capslock LED code to standard led_set_kb so it can be overridden by users X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=304d84cd0835faaa3b95d1c3be48399a423f9944;p=qmk_firmware.git Moved KC60 capslock LED code to standard led_set_kb so it can be overridden by users --- diff --git a/keyboards/kc60/kc60.c b/keyboards/kc60/kc60.c index 746ac634a..09b924b28 100644 --- a/keyboards/kc60/kc60.c +++ b/keyboards/kc60/kc60.c @@ -1 +1,16 @@ #include "kc60.h" + +void led_set_kb(uint8_t usb_led) +{ + if (usb_led & (1< -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include -#include "stdint.h" -#include "led.h" - - -void led_set(uint8_t usb_led) -{ - if (usb_led & (1<