Skip to content

Commit

Permalink
[Keyboard] Fix dc01/left so that it doesn't throw a warning (#13653)
Browse files Browse the repository at this point in the history
  • Loading branch information
skullydazed committed Jul 23, 2021
1 parent 4ff4c05 commit fa32c66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion keyboards/dc01/left/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ along with this program. If not, see <http:https://www.gnu.org/licenses/>.
*
*/
#define MATRIX_ROW_PINS { B6, B5, B4, D7, D6 }
#define MATRIX_COL_PINS { F4, F1, F0, F7, F6, F5 }
#define MATRIX_COL_PINS { F4, F1, F0, F7, F6, F5, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN }
#define UNUSED_PINS

#define F_SCL 350000UL
Expand Down
3 changes: 2 additions & 1 deletion keyboards/dc01/left/matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ along with this program. If not, see <http:https://www.gnu.org/licenses/>.
#include "wait.h"
#include "print.h"
#include "debug.h"
#include "gpio.h"
#include "util.h"
#include "matrix.h"
#include "timer.h"
Expand Down Expand Up @@ -71,7 +72,7 @@ along with this program. If not, see <http:https://www.gnu.org/licenses/>.

#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) */
Expand Down

0 comments on commit fa32c66

Please sign in to comment.