diff options
author | Josef Adamcik <josef.adamcik@gmail.com> | 2020-05-18 13:11:22 +0200 |
---|---|---|
committer | Josef Adamcik <josef.adamcik@gmail.com> | 2020-05-18 13:11:22 +0200 |
commit | fb9425df827400f040c6760eff11c4b980a76a99 (patch) | |
tree | 11e62f3776d5d94515c21eb23e40aa9c8505d06c /keyboards | |
parent | 22ad35b22575b1ff4a1b68d86a01a25c4a39fa5f (diff) |
Add TAP_CODE_DELAY 10. Fix a typo (compilation error)
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/sofle/keymaps/default/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/sofle/rev1/config.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/sofle/keymaps/default/keymap.c b/keyboards/sofle/keymaps/default/keymap.c index aa8fd15f80..38200bfb7e 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 154d1fae10..232306e0bc 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 |