summaryrefslogtreecommitdiffstats
path: root/keyboards/crkbd/crkbd.c
diff options
context:
space:
mode:
authorepaew <epaew@users.noreply.github.com>2018-11-28 00:18:11 +0100
committerDrashna Jaelre <drashna@live.com>2018-11-28 00:18:11 +0100
commitdd7534cccabd9e1cea86e69741ed8c68cb3d0299 (patch)
tree8422a12c1de6ba051194a301a3e804910997870d /keyboards/crkbd/crkbd.c
parente4dfcf896ef641701564bec5ea1ea7aa81b072bd (diff)
downloadqmk_firmware-dd7534cccabd9e1cea86e69741ed8c68cb3d0299.tar.gz
qmk_firmware-dd7534cccabd9e1cea86e69741ed8c68cb3d0299.tar.xz
Keyboard: fix for debug crkbd (#4469)
Diffstat (limited to 'keyboards/crkbd/crkbd.c')
-rw-r--r--keyboards/crkbd/crkbd.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/keyboards/crkbd/crkbd.c b/keyboards/crkbd/crkbd.c
index 32f7af776..d420ccda2 100644
--- a/keyboards/crkbd/crkbd.c
+++ b/keyboards/crkbd/crkbd.c
@@ -1,6 +1,10 @@
#include "crkbd.h"
-#include "ssd1306.h"
+#include "ssd1306.h"
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
- return process_record_gfx(keycode,record) && process_record_user(keycode, record);
-} \ No newline at end of file
+#ifdef SSD1306OLED
+ return process_record_gfx(keycode,record) && process_record_user(keycode, record);
+#else
+ return process_record_user(keycode, record);
+#endif
+}