Skip to content

Commit eab6f65

Browse files
committed
fix the error for dc01/left
1 parent 4ff4c05 commit eab6f65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

keyboards/dc01/left/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
4242
*
4343
*/
4444
#define MATRIX_ROW_PINS { B6, B5, B4, D7, D6 }
45-
#define MATRIX_COL_PINS { F4, F1, F0, F7, F6, F5 }
45+
#define MATRIX_COL_PINS { F4, F1, F0, F7, F6, F5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
4646
#define UNUSED_PINS
4747

4848
#define F_SCL 350000UL

keyboards/dc01/left/matrix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
7171

7272
#if (DIODE_DIRECTION == ROW2COL) || (DIODE_DIRECTION == COL2ROW)
7373
static const uint8_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;
74-
static const uint8_t col_pins[MATRIX_COLS_SCANNED] = MATRIX_COL_PINS;
74+
static const uint8_t col_pins[MATRIX_COLS] = MATRIX_COL_PINS;
7575
#endif
7676

7777
/* matrix state(1:on, 0:off) */

0 commit comments

Comments
 (0)