1 /* Copyright 2019 westfoxtrot
5 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 2 of the License, or
11 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
25 * You should have received a copy of the GNU General Public License
27 * along with this program. If not, see <http://www.gnu.org/licenses/>.
34 void led_set_kb(uint8_t usb_led) {
36 if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
50 led_set_user(usb_led);