From a42d6426d9bbf1ddc15cfe77b3764524269b0d7e Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 30 Apr 2023 18:58:06 +1000 Subject: Remove use of layout macros for `music_map` (#20634) --- keyboards/keyprez/rhino/rhino.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'keyboards/keyprez') 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} +}; -- cgit v1.2.3