From: Jack Humbert Date: Wed, 8 Feb 2017 02:25:00 +0000 (-0500) Subject: Merge pull request #1074 from dungdung/kc60_led X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=0a9fda968da521e373564895d6ea6774cd1480d9;hp=ad1327cd003ac25f7ee1b6f404d01139e0f5be88;p=qmk_firmware.git Merge pull request #1074 from dungdung/kc60_led Moved KC60 capslock LED code to standard led_set_kb… --- 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<