qmk

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/qmk.git
Log | Files | Refs | Submodules | LICENSE

commit 5eb69ca224f3d4233860a658e6a27516d86c4de7
parent ba76fcfb8bbc531213619f2893415c8744b65a47
Author: Ryoichi KATO <ryo1kato@gmail.com>
Date:   Wed,  7 Nov 2018 23:04:02 -0800

Keyboard: fix ifdef for crkbd's default/keymap.c

undef SSD1306OLED should not kill entire process_record_user() function.

Diffstat:
keyboards/crkbd/keymaps/default/keymap.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/keyboards/crkbd/keymaps/default/keymap.c b/keyboards/crkbd/keymaps/default/keymap.c @@ -179,10 +179,13 @@ void iota_gfx_task_user(void) { matrix_render_user(&matrix); matrix_update(&display, &matrix); } +#endif//SSD1306OLED bool process_record_user(uint16_t keycode, keyrecord_t *record) { if (record->event.pressed) { +#ifdef SSD1306OLED set_keylog(keycode, record); +#endif // set_timelog(); } @@ -244,4 +247,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { return true; } -#endif