diff options
| author | Mikkel Jeppesen <2756925+Duckle29@users.noreply.github.com> | 2020-01-27 05:04:39 +0100 |
|---|---|---|
| committer | Danny <nooges@users.noreply.github.com> | 2020-01-26 23:04:38 -0500 |
| commit | 05d6e6ca78087969d7a47862341d10b6b555c37e (patch) | |
| tree | 5cd80f59929781006d2412a9862a47fc05c4ec7c /keyboards/gh60/revc/revc.h | |
| parent | 645c5fabf24411fe65d2172a3509c26e053651a2 (diff) | |
| download | qmk_firmware-05d6e6ca78087969d7a47862341d10b6b555c37e.tar.gz qmk_firmware-05d6e6ca78087969d7a47862341d10b6b555c37e.zip | |
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>
Diffstat (limited to 'keyboards/gh60/revc/revc.h')
| -rw-r--r-- | keyboards/gh60/revc/revc.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/gh60/revc/revc.h b/keyboards/gh60/revc/revc.h index dda7a0db6..e183f776e 100644 --- a/keyboards/gh60/revc/revc.h +++ b/keyboards/gh60/revc/revc.h | |||
| @@ -18,11 +18,11 @@ inline void gh60_fn_led_on(void) { setPinOutput(F5); writePinLow(F5); } | |||
| 18 | inline void gh60_esc_led_on(void) { setPinOutput(F6); writePinLow(F6); } | 18 | inline void gh60_esc_led_on(void) { setPinOutput(F6); writePinLow(F6); } |
| 19 | inline void gh60_wasd_leds_on(void) { setPinOutput(F7); writePinLow(F7); } | 19 | inline void gh60_wasd_leds_on(void) { setPinOutput(F7); writePinLow(F7); } |
| 20 | 20 | ||
| 21 | inline void gh60_caps_led_off(void) { setPinInput(B2); writePinLow(B2); } | 21 | inline void gh60_caps_led_off(void) { setPinInput(B2); } |
| 22 | inline void gh60_poker_leds_off(void) { setPinInput(F4); writePinLow(F4); } | 22 | inline void gh60_poker_leds_off(void) { setPinInput(F4); } |
| 23 | inline void gh60_fn_led_off(void) { setPinInput(F5); writePinLow(F5); } | 23 | inline void gh60_fn_led_off(void) { setPinInput(F5); } |
| 24 | inline void gh60_esc_led_off(void) { setPinInput(F6); writePinLow(F6); } | 24 | inline void gh60_esc_led_off(void) { setPinInput(F6); } |
| 25 | inline void gh60_wasd_leds_off(void) { setPinInput(F7); writePinLow(F7); } | 25 | inline void gh60_wasd_leds_off(void) { setPinInput(F7); } |
| 26 | 26 | ||
| 27 | /* GH60 keymap definition macro | 27 | /* GH60 keymap definition macro |
| 28 | * K2C, K31 and K3C are extra keys for ISO | 28 | * K2C, K31 and K3C are extra keys for ISO |
