~ruther/qmk_firmware

ref: bd2e59af60a9ceacb1e6806c594caea3de9592e5 qmk_firmware/keyboards/kc60/kc60.c -rw-r--r-- 166 bytes
bd2e59af — Joy Lee Fixed WB32 MCU remote wakeup issue (#20863) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
#include "quantum.h"

void led_update_ports(led_t led_state) {
    if (led_state.caps_lock) {
        setPinOutput(B2);
    } else {
        setPinInput(B2);
    }
}