summaryrefslogtreecommitdiff
path: root/keyboards/keyprez
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-04-30 18:58:06 +1000
committerGitHub <noreply@github.com>2023-04-30 18:58:06 +1000
commita42d6426d9bbf1ddc15cfe77b3764524269b0d7e (patch)
tree7751396d683469990dc55e2a5f4f0d5eae8f2a69 /keyboards/keyprez
parent4b8796168913e40de57352c7daa8eb726398aec8 (diff)
Remove use of layout macros for `music_map` (#20634)
Diffstat (limited to 'keyboards/keyprez')
-rw-r--r--keyboards/keyprez/rhino/rhino.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/keyboards/keyprez/rhino/rhino.c b/keyboards/keyprez/rhino/rhino.c
index d2e1bf2e23..e7eb74e655 100644
--- a/keyboards/keyprez/rhino/rhino.c
+++ b/keyboards/keyprez/rhino/rhino.c
@@ -15,13 +15,15 @@
*/
#include "quantum.h"
-#include QMK_KEYBOARD_H
__attribute__ ((weak))
-const uint8_t music_map[MATRIX_ROWS][MATRIX_COLS] = LAYOUT_ortho_2x2u(
- 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 1, 3, 0, 6, 8, 10, 0, 13, 15, 0, 18, 20, 0,
- 0, 0, 2, 4, 5, 7, 9, 11, 12, 14, 16, 17, 19, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
-);
+const uint8_t music_map[MATRIX_ROWS][MATRIX_COLS] = {
+ { 0, 0, 0, 0, 0, 0, 0},
+ { 0, 1, 3, 0, 6, 8, 10},
+ { 0, 0, 2, 4, 5, 7, 9},
+ { 0, 0, 0, 0, 0, 0, 0},
+ { 0, 0, 0, 0, 0, 0, 0},
+ { 0, 13, 15, 0, 18, 20, 0},
+ {11, 12, 14, 16, 17, 19, 0},
+ { 0, 0, 0, 0, 0, 0, 0}
+};