diff options
author | Ryan <fauxpark@gmail.com> | 2021-07-22 04:30:29 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-21 19:30:29 +0100 |
commit | b564ba13eef1564c871d062a6ce97c1ccdbbd825 (patch) | |
tree | 07a75456f49be92f829433660226d62705082d95 | |
parent | c79bc7c9094b7bed26450e85040df6ef91239aed (diff) | |
download | qmk_firmware-b564ba13eef1564c871d062a6ce97c1ccdbbd825.tar.gz qmk_firmware-b564ba13eef1564c871d062a6ce97c1ccdbbd825.zip |
Fix API generation failure caused by GRS-70EC (#13631)
-rw-r--r-- | keyboards/sekigon/grs_70ec/config.h | 2 | ||||
-rw-r--r-- | keyboards/sekigon/grs_70ec/ec_switch_matrix.c | 12 |
2 files changed, 2 insertions, 12 deletions
diff --git a/keyboards/sekigon/grs_70ec/config.h b/keyboards/sekigon/grs_70ec/config.h index aa740e777..b1559fcc2 100644 --- a/keyboards/sekigon/grs_70ec/config.h +++ b/keyboards/sekigon/grs_70ec/config.h | |||
@@ -45,7 +45,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
45 | * | 45 | * |
46 | */ | 46 | */ |
47 | #define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 } | 47 | #define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 } |
48 | #define MATRIX_COL_PINS { S2, S1, S0, S3, S5, S7, S6, S4 } | 48 | #define MATRIX_COL_CHANNELS { 2, 1, 0, 3, 5, 7, 6, 4 } |
49 | #define UNUSED_PINS | 49 | #define UNUSED_PINS |
50 | #define DISCHARGE_PIN B1 | 50 | #define DISCHARGE_PIN B1 |
51 | #define ANALOG_PORT F6 | 51 | #define ANALOG_PORT F6 |
diff --git a/keyboards/sekigon/grs_70ec/ec_switch_matrix.c b/keyboards/sekigon/grs_70ec/ec_switch_matrix.c index 88e9bdabd..d1c2d85ac 100644 --- a/keyboards/sekigon/grs_70ec/ec_switch_matrix.c +++ b/keyboards/sekigon/grs_70ec/ec_switch_matrix.c | |||
@@ -20,19 +20,9 @@ | |||
20 | #include "analog.h" | 20 | #include "analog.h" |
21 | #include "print.h" | 21 | #include "print.h" |
22 | 22 | ||
23 | // sensing channel definitions | ||
24 | #define S0 0 | ||
25 | #define S1 1 | ||
26 | #define S2 2 | ||
27 | #define S3 3 | ||
28 | #define S4 4 | ||
29 | #define S5 5 | ||
30 | #define S6 6 | ||
31 | #define S7 7 | ||
32 | |||
33 | // pin connections | 23 | // pin connections |
34 | const uint8_t row_pins[] = MATRIX_ROW_PINS; | 24 | const uint8_t row_pins[] = MATRIX_ROW_PINS; |
35 | const uint8_t col_channels[] = MATRIX_COL_PINS; | 25 | const uint8_t col_channels[] = MATRIX_COL_CHANNELS; |
36 | const uint8_t mux_sel_pins[] = MUX_SEL_PINS; | 26 | const uint8_t mux_sel_pins[] = MUX_SEL_PINS; |
37 | 27 | ||
38 | _Static_assert(sizeof(mux_sel_pins) == 3, "invalid MUX_SEL_PINS"); | 28 | _Static_assert(sizeof(mux_sel_pins) == 3, "invalid MUX_SEL_PINS"); |