summaryrefslogtreecommitdiffstats
path: root/keyboards/crkbd
diff options
context:
space:
mode:
authorRyoichi KATO <ryo1kato@gmail.com>2018-11-08 08:04:02 +0100
committerDrashna Jaelre <drashna@live.com>2018-11-08 15:45:09 +0100
commit5eb69ca224f3d4233860a658e6a27516d86c4de7 (patch)
tree82f76a4ff3df84624224fc24b8688db2acb87208 /keyboards/crkbd
parentba76fcfb8bbc531213619f2893415c8744b65a47 (diff)
downloadqmk_firmware-5eb69ca224f3d4233860a658e6a27516d86c4de7.tar.gz
qmk_firmware-5eb69ca224f3d4233860a658e6a27516d86c4de7.tar.xz
Keyboard: fix ifdef for crkbd's default/keymap.c
undef SSD1306OLED should not kill entire process_record_user() function.
Diffstat (limited to 'keyboards/crkbd')
-rw-r--r--keyboards/crkbd/keymaps/default/keymap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/crkbd/keymaps/default/keymap.c b/keyboards/crkbd/keymaps/default/keymap.c
index e92fbdebf..c7c9582e8 100644
--- 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