~ruther/qmk_firmware

b564ba13eef1564c871d062a6ce97c1ccdbbd825 — Ryan 4 years ago c79bc7c
Fix API generation failure caused by GRS-70EC (#13631)

2 files changed, 2 insertions(+), 12 deletions(-)

M keyboards/sekigon/grs_70ec/config.h
M keyboards/sekigon/grs_70ec/ec_switch_matrix.c
M keyboards/sekigon/grs_70ec/config.h => keyboards/sekigon/grs_70ec/config.h +1 -1
@@ 45,7 45,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
#define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
#define MATRIX_COL_PINS { S2, S1, S0, S3, S5, S7, S6, S4 }
#define MATRIX_COL_CHANNELS { 2, 1, 0, 3, 5, 7, 6, 4 }
#define UNUSED_PINS
#define DISCHARGE_PIN B1
#define ANALOG_PORT F6

M keyboards/sekigon/grs_70ec/ec_switch_matrix.c => keyboards/sekigon/grs_70ec/ec_switch_matrix.c +1 -11
@@ 20,19 20,9 @@
#include "analog.h"
#include "print.h"

// sensing channel definitions
#define S0 0
#define S1 1
#define S2 2
#define S3 3
#define S4 4
#define S5 5
#define S6 6
#define S7 7

// pin connections
const uint8_t row_pins[]     = MATRIX_ROW_PINS;
const uint8_t col_channels[] = MATRIX_COL_PINS;
const uint8_t col_channels[] = MATRIX_COL_CHANNELS;
const uint8_t mux_sel_pins[] = MUX_SEL_PINS;

_Static_assert(sizeof(mux_sel_pins) == 3, "invalid MUX_SEL_PINS");