diff options
Diffstat (limited to 'quantum/split_common/split_util.c')
-rw-r--r-- | quantum/split_common/split_util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/quantum/split_common/split_util.c b/quantum/split_common/split_util.c index 97d49961d..2ae44e6e1 100644 --- a/quantum/split_common/split_util.c +++ b/quantum/split_common/split_util.c | |||
@@ -95,7 +95,7 @@ static uint8_t peek_matrix_intersection(pin_t out_pin, pin_t in_pin) { | |||
95 | uint8_t pin_state = readPin(in_pin); | 95 | uint8_t pin_state = readPin(in_pin); |
96 | // Set out_pin to a setting that is less susceptible to noise. | 96 | // Set out_pin to a setting that is less susceptible to noise. |
97 | setPinInputHigh(out_pin); | 97 | setPinInputHigh(out_pin); |
98 | matrix_io_delay(); // Wait for the pull-up to go HIGH. | 98 | matrix_io_delay(); // Wait for the pull-up to go HIGH. |
99 | return pin_state; | 99 | return pin_state; |
100 | } | 100 | } |
101 | #endif | 101 | #endif |
@@ -106,11 +106,11 @@ __attribute__((weak)) bool is_keyboard_left(void) { | |||
106 | setPinInput(SPLIT_HAND_PIN); | 106 | setPinInput(SPLIT_HAND_PIN); |
107 | return readPin(SPLIT_HAND_PIN); | 107 | return readPin(SPLIT_HAND_PIN); |
108 | #elif defined(SPLIT_HAND_MATRIX_GRID) | 108 | #elif defined(SPLIT_HAND_MATRIX_GRID) |
109 | # ifdef SPLIT_HAND_MATRIX_GRID_LOW_IS_RIGHT | 109 | # ifdef SPLIT_HAND_MATRIX_GRID_LOW_IS_RIGHT |
110 | return peek_matrix_intersection(SPLIT_HAND_MATRIX_GRID); | 110 | return peek_matrix_intersection(SPLIT_HAND_MATRIX_GRID); |
111 | # else | 111 | # else |
112 | return !peek_matrix_intersection(SPLIT_HAND_MATRIX_GRID); | 112 | return !peek_matrix_intersection(SPLIT_HAND_MATRIX_GRID); |
113 | # endif | 113 | # endif |
114 | #elif defined(EE_HANDS) | 114 | #elif defined(EE_HANDS) |
115 | return eeconfig_read_handedness(); | 115 | return eeconfig_read_handedness(); |
116 | #elif defined(MASTER_RIGHT) | 116 | #elif defined(MASTER_RIGHT) |