Skip to content

Commit

Permalink
Fixed wrong type when the matrix is defined for single only.
Browse files Browse the repository at this point in the history
  • Loading branch information
hsakoh committed Oct 30, 2020
1 parent 6ed8fbb commit b6cac82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quantum/encoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ typedef struct {
#if defined(MATRIX_ROW_PINS_RIGHT)
static pin_t row_pins_right[] = MATRIX_ROW_PINS_RIGHT;
#else
static pin_t row_pins_right = MATRIX_ROW_PINS;
static pin_t row_pins_right[] = MATRIX_ROW_PINS;
#endif
static pin_t col_pins_left[] = MATRIX_COL_PINS;
#if defined(MATRIX_COL_PINS_RIGHT)
Expand All @@ -204,7 +204,7 @@ typedef struct {
#if defined(MATRIX_ROW_PINS_RIGHT)
static pin_t row_pins_right[] = MATRIX_ROW_PINS_RIGHT;
#else
static pin_t row_pins_right = MATRIX_ROW_PINS;
static pin_t row_pins_right[] = MATRIX_ROW_PINS;
#endif
#if defined(MATRIX_COL_PINS_RIGHT)
static pin_t col_pins_right[] = MATRIX_COL_PINS_RIGHT;
Expand Down

0 comments on commit b6cac82

Please sign in to comment.