From 6e9f6676728445ae9e3cb3a481f8e05a7bca140e Mon Sep 17 00:00:00 2001 From: Xelus22 <17491233+Xelus22@users.noreply.github.com> Date: Thu, 22 Jul 2021 18:06:03 +1000 Subject: [Bug] Develop - DC01 left (#13597) --- keyboards/dc01/left/matrix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'keyboards/dc01/left/matrix.c') diff --git a/keyboards/dc01/left/matrix.c b/keyboards/dc01/left/matrix.c index c3b3b39a4f..0833afc11b 100644 --- a/keyboards/dc01/left/matrix.c +++ b/keyboards/dc01/left/matrix.c @@ -451,4 +451,4 @@ error: i2c_stop(); return (status < 0) ? status : I2C_STATUS_SUCCESS; -} \ No newline at end of file +} -- cgit v1.2.3 From fa32c66e9d6075252c9a8278305677c440b1c499 Mon Sep 17 00:00:00 2001 From: Zach White Date: Fri, 23 Jul 2021 08:06:12 -0700 Subject: [Keyboard] Fix dc01/left so that it doesn't throw a warning (#13653) --- keyboards/dc01/left/matrix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'keyboards/dc01/left/matrix.c') diff --git a/keyboards/dc01/left/matrix.c b/keyboards/dc01/left/matrix.c index 0833afc11b..bf5aba8497 100644 --- a/keyboards/dc01/left/matrix.c +++ b/keyboards/dc01/left/matrix.c @@ -26,6 +26,7 @@ along with this program. If not, see . #include "wait.h" #include "print.h" #include "debug.h" +#include "gpio.h" #include "util.h" #include "matrix.h" #include "timer.h" @@ -71,7 +72,7 @@ along with this program. If not, see . #if (DIODE_DIRECTION == ROW2COL) || (DIODE_DIRECTION == COL2ROW) static const uint8_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS; -static const uint8_t col_pins[MATRIX_COLS_SCANNED] = MATRIX_COL_PINS; +static const uint8_t col_pins[MATRIX_COLS] = MATRIX_COL_PINS; #endif /* matrix state(1:on, 0:off) */ -- cgit v1.2.3