qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

commit c6ff10a2577e0dcee1c8dc1ec25c84c3355d9986
parent c56dc9c0bbe8ba1449e39923e3de2f562707eb40
Author: jonavin <71780717+Jonavin@users.noreply.github.com>
Date:   Sun, 18 Sep 2022 18:57:37 -0400

FIx ARRAYSIZE def and Murphpad string array (#18392)

Co-authored-by: Jonavin <=>
Diffstat:
Mkeyboards/mechwild/murphpad/keymaps/jonavin/keymap.c | 2+-
Musers/jonavin/jonavin.h | 2++
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/keyboards/mechwild/murphpad/keymaps/jonavin/keymap.c b/keyboards/mechwild/murphpad/keymaps/jonavin/keymap.c @@ -175,7 +175,7 @@ static const keycodedescType PROGMEM keyselection[] = { {"Break", KC_PAUS}, {"C-A-D", KC_CAD}, // Ctrl-Alt-Del {"AltF4", KC_AF4}, - {"QK_BOOT", QK_BOOT}, // firmware flash mode + {"RESET", QK_BOOT}, // firmware flash mode }; #define MAX_KEYSELECTION sizeof(keyselection)/sizeof(keyselection[0]) diff --git a/users/jonavin/jonavin.h b/users/jonavin/jonavin.h @@ -18,7 +18,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once // DEFINE MACROS +#ifndef ARRAYSIZE #define ARRAYSIZE(arr) sizeof(arr)/sizeof(arr[0]) +#endif // !ARRAYSIZE // LAYERS