forked from forks/qmk_firmware
05d6e6ca78
* Ensure setPinInput actually sets input high-z * Fixed _PIN_ADDRESS Macro arguments as recommended by vomindoraan * Fixed instances of setInput to use new behavour * Changed kmac matrix to use input with pullups * Update keyboards/gh60/revc/revc.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * Fixed input state for unselect_rows * fixed merge conflict * Updated all instances of older uses of setPinInput() * Fixed naming mistake Co-authored-by: fauxpark <fauxpark@gmail.com>
13 lines
227 B
C
13 lines
227 B
C
#include "yd60mq.h"
|
|
|
|
void led_set_kb(uint8_t usb_led) {
|
|
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
|
|
setPinOutput(F4);
|
|
writePinLow(F4);
|
|
} else {
|
|
setPinInput(F4);
|
|
}
|
|
|
|
led_set_user(usb_led);
|
|
}
|