From fb9425df827400f040c6760eff11c4b980a76a99 Mon Sep 17 00:00:00 2001 From: Josef Adamcik Date: Mon, 18 May 2020 13:11:22 +0200 Subject: [PATCH] Add TAP_CODE_DELAY 10. Fix a typo (compilation error) --- keyboards/sofle/keymaps/default/keymap.c | 2 +- keyboards/sofle/rev1/config.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/keyboards/sofle/keymaps/default/keymap.c b/keyboards/sofle/keymaps/default/keymap.c index aa8fd15f80b..38200bfb7ea 100644 --- a/keyboards/sofle/keymaps/default/keymap.c +++ b/keyboards/sofle/keymaps/default/keymap.c @@ -189,7 +189,7 @@ static void print_status_narrow(void) { oled_write_ln_P(PSTR("Undef"), false); } oled_write_P(PSTR("\n\n"), false); - led_t led_usb_state = host_keyboard_led_state()(); + led_t led_usb_state = host_keyboard_led_state(); oled_write_ln_P(PSTR("CPSLK"), led_usb_state.caps_lock); } diff --git a/keyboards/sofle/rev1/config.h b/keyboards/sofle/rev1/config.h index 154d1fae101..232306e0bc6 100644 --- a/keyboards/sofle/rev1/config.h +++ b/keyboards/sofle/rev1/config.h @@ -28,6 +28,8 @@ #define ENCODERS_PAD_B_RIGHT { F5 } #define ENCODER_RESOLUTION 2 +#define TAP_CODE_DELAY 10 + /* communication between sides */ #define USE_SERIAL #define SERIAL_USE_MULTI_TRANSACTION