mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-11 22:44:56 +00:00
f698bbcd65
* Capslock indicator add * edit * name correction * led_set_user(usb_led); delete
12 lines
No EOL
202 B
C
12 lines
No EOL
202 B
C
#include "pk60.h"
|
|
|
|
void led_set_kb(uint8_t usb_led) {
|
|
|
|
if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
|
|
PORTF |= (1<<4);
|
|
} else {
|
|
PORTF &= ~(1<<4);
|
|
}
|
|
led_set_user(usb_led);
|
|
|
|
} |