summaryrefslogtreecommitdiff
path: root/keyboards/handwired/aball
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-02-15 12:15:53 +1100
committerGitHub <noreply@github.com>2022-02-15 01:15:53 +0000
commitac8bee7091d5a5fc55afb7054562c0d23f932880 (patch)
treea884f69d9617f30f3e99dad3b5a7416f5102e8a7 /keyboards/handwired/aball
parent485cf920b4f2d7bf5702573d008c5e435ee570a2 (diff)
downloadqmk_firmware-ac8bee7091d5a5fc55afb7054562c0d23f932880.tar.gz
qmk_firmware-ac8bee7091d5a5fc55afb7054562c0d23f932880.zip
Fix multiple definition errors for trackball "boards" with no keys (#16350)
Diffstat (limited to 'keyboards/handwired/aball')
-rw-r--r--keyboards/handwired/aball/aball.c1
-rw-r--r--keyboards/handwired/aball/aball.h10
-rw-r--r--keyboards/handwired/aball/keymaps/default/keymap.c3
3 files changed, 3 insertions, 11 deletions
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 }};