From c72b69194c9e2d703c8af51a6f303f6fedc51b0c Mon Sep 17 00:00:00 2001 From: Drashna Jael're Date: Tue, 28 Jan 2020 20:57:08 -0800 Subject: Forgot preprocessor for moonlander --- keyboards/moonlander/moonlander.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'keyboards') 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) { -- cgit v1.2.3