Ensure setPinInput actually sets input high-Z (#6237)
* 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>
This commit is contained in:
@@ -59,7 +59,6 @@ void led_set_user(uint8_t usb_led) {
|
||||
writePinLow(D5);
|
||||
} else {
|
||||
setPinInput(D5);
|
||||
writePinLow(D5);
|
||||
}
|
||||
|
||||
if (IS_LED_ON(usb_led, USB_LED_SCROLL_LOCK)) {
|
||||
@@ -67,7 +66,6 @@ void led_set_user(uint8_t usb_led) {
|
||||
writePinLow(E6);
|
||||
} else {
|
||||
setPinInput(E6);
|
||||
writePinLow(E6);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -54,7 +54,6 @@ void led_set_user(uint8_t usb_led) {
|
||||
writePinLow(D5);
|
||||
} else {
|
||||
setPinInput(D5);
|
||||
writePinLow(D5);
|
||||
}
|
||||
|
||||
if (IS_LED_ON(usb_led, USB_LED_SCROLL_LOCK)) {
|
||||
@@ -62,7 +61,6 @@ void led_set_user(uint8_t usb_led) {
|
||||
writePinLow(E6);
|
||||
} else {
|
||||
setPinInput(E6);
|
||||
writePinLow(E6);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user