summaryrefslogtreecommitdiff
path: root/keyboards/moonlander
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-12-05 20:26:32 -0800
committerGitHub <noreply@github.com>2021-12-05 20:26:32 -0800
commit6d0a62920410f50d7f6707960ca1ca0c8fd1d1fa (patch)
tree8f90468cccc58194ae18a3808c685a99703cfc74 /keyboards/moonlander
parentc54c0fdc2c247f187e502d726be68be975fd9c07 (diff)
[Keyboard] Fix bug in Moonlander functions (#15407)
Diffstat (limited to 'keyboards/moonlander')
-rw-r--r--keyboards/moonlander/moonlander.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/moonlander/moonlander.c b/keyboards/moonlander/moonlander.c
index 3f9b3d40a4..d5105c26cd 100644
--- a/keyboards/moonlander/moonlander.c
+++ b/keyboards/moonlander/moonlander.c
@@ -400,6 +400,7 @@ const uint8_t music_map[MATRIX_ROWS][MATRIX_COLS] = LAYOUT_moonlander(
#ifdef ORYX_CONFIGURATOR
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
+ if (!process_record_user(keycode, record)) { return false; }
switch (keycode) {
#ifdef WEBUSB_ENABLE
case WEBUSB_PAIR:
@@ -450,7 +451,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return false;
#endif
}
- return process_record_user(keycode, record);
+ return true;
}
#endif
@@ -470,6 +471,7 @@ void matrix_init_kb(void) {
rgb_matrix_set_flags(LED_FLAG_NONE);
}
#endif
+ matrix_init_user();
}
void eeconfig_init_kb(void) { // EEPROM is getting reset!