summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jael're <drashna@live.com>2020-01-28 20:57:08 -0800
committerFlorian Didron <fdidron@users.noreply.github.com>2020-02-26 10:15:12 +0900
commitc72b69194c9e2d703c8af51a6f303f6fedc51b0c (patch)
treed9d74e8d708da7c525270c45230444f6ad15f170
parent4c6c17e68b01fa316a38f4282e162655f7b64800 (diff)
Forgot preprocessor for moonlander
-rw-r--r--keyboards/moonlander/moonlander.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/moonlander/moonlander.c b/keyboards/moonlander/moonlander.c
index 2841cfeb42..ae043080f1 100644
--- a/keyboards/moonlander/moonlander.c
+++ b/keyboards/moonlander/moonlander.c
@@ -383,10 +383,12 @@ const uint8_t music_map[MATRIX_ROWS][MATRIX_COLS] = LAYOUT_moonlander(
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
+#ifdef WEBUSB_ENABLE
case WEBUSB_PAIR:
if (!record->event.pressed && !webusb_state.pairing)
layer_state_set_kb(layer_state);
break;
+#endif
#ifdef RGB_MATRIX_ENABLE
case TOGGLE_LAYER_COLOR:
if (record->event.pressed) {