diff options
author | Ryan <fauxpark@gmail.com> | 2020-12-18 01:06:30 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-17 14:06:30 +0000 |
commit | 6ea4b06f9fc19825605477cdc27f5bec0f3dc0a9 (patch) | |
tree | a5266a6ea24a9dfa1627c0273a24198c5a436b3a /quantum/split_common/split_util.c | |
parent | d9dcb716bfa9eef32560a95ecb50274a0f2b170c (diff) | |
download | qmk_firmware-6ea4b06f9fc19825605477cdc27f5bec0f3dc0a9.tar.gz qmk_firmware-6ea4b06f9fc19825605477cdc27f5bec0f3dc0a9.zip |
Run cformat and dos2unix manually (#11235)
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) |