From ac8bee7091d5a5fc55afb7054562c0d23f932880 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 15 Feb 2022 12:15:53 +1100 Subject: Fix multiple definition errors for trackball "boards" with no keys (#16350) --- keyboards/handwired/aball/aball.c | 1 - keyboards/handwired/aball/aball.h | 10 +--------- keyboards/handwired/aball/keymaps/default/keymap.c | 3 ++- 3 files changed, 3 insertions(+), 11 deletions(-) (limited to 'keyboards/handwired') diff --git a/keyboards/handwired/aball/aball.c b/keyboards/handwired/aball/aball.c index 0b3d2f165c..3f12243ac6 100644 --- a/keyboards/handwired/aball/aball.c +++ b/keyboards/handwired/aball/aball.c @@ -15,4 +15,3 @@ */ #include "aball.h" -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { }; diff --git a/keyboards/handwired/aball/aball.h b/keyboards/handwired/aball/aball.h index 8daf6bf680..d6cb21bafc 100644 --- a/keyboards/handwired/aball/aball.h +++ b/keyboards/handwired/aball/aball.h @@ -18,12 +18,4 @@ #include "quantum.h" -/* This is a shortcut to help you visually see your layout. - * - * The first section contains all of the arguments representing the physical - * layout of the board and position of the keys. - * - * The second converts the arguments into a two-dimensional array which - * represents the switch matrix. - */ -#define LAYOUT(k00) {{ KC_NO }} +#define LAYOUT(k00) {{ k00 }} diff --git a/keyboards/handwired/aball/keymaps/default/keymap.c b/keyboards/handwired/aball/keymaps/default/keymap.c index 00826a0262..1e9605e661 100644 --- a/keyboards/handwired/aball/keymaps/default/keymap.c +++ b/keyboards/handwired/aball/keymaps/default/keymap.c @@ -15,4 +15,5 @@ */ #include QMK_KEYBOARD_H - +// Dummy +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {{ KC_NO }}; -- cgit v1.2.3