aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepaew <epaew@users.noreply.github.com>2018-11-28 08:18:11 +0900
committerDrashna Jaelre <drashna@live.com>2018-11-27 15:18:11 -0800
commitdd7534cccabd9e1cea86e69741ed8c68cb3d0299 (patch)
tree8422a12c1de6ba051194a301a3e804910997870d
parente4dfcf896ef641701564bec5ea1ea7aa81b072bd (diff)
downloadqmk_firmware-dd7534cccabd9e1cea86e69741ed8c68cb3d0299.tar.gz
qmk_firmware-dd7534cccabd9e1cea86e69741ed8c68cb3d0299.zip
Keyboard: fix for debug crkbd (#4469)
-rw-r--r--keyboards/crkbd/crkbd.c10
-rw-r--r--keyboards/crkbd/rev1/split_scomm.c5
2 files changed, 9 insertions, 6 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 @@
1#include "crkbd.h" 1#include "crkbd.h"
2#include "ssd1306.h" 2#include "ssd1306.h"
3 3
4bool process_record_kb(uint16_t keycode, keyrecord_t *record) { 4bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
5 return process_record_gfx(keycode,record) && process_record_user(keycode, record); 5#ifdef SSD1306OLED
6} \ No newline at end of file 6 return process_record_gfx(keycode,record) && process_record_user(keycode, record);
7#else
8 return process_record_user(keycode, record);
9#endif
10}
diff --git a/keyboards/crkbd/rev1/split_scomm.c b/keyboards/crkbd/rev1/split_scomm.c
index ada786796..a1fe6ba5b 100644
--- a/keyboards/crkbd/rev1/split_scomm.c
+++ b/keyboards/crkbd/rev1/split_scomm.c
@@ -63,10 +63,9 @@ int serial_update_buffers(int master_update)
63 if( smatstatus == TRANSACTION_END ) { 63 if( smatstatus == TRANSACTION_END ) {
64 s_change_old = s_change_new; 64 s_change_old = s_change_new;
65#ifdef CONSOLE_ENABLE 65#ifdef CONSOLE_ENABLE
66 uprintf("slave matrix = %b %b %b %b %b\n", 66 uprintf("slave matrix = %b %b %b %b\n",
67 serial_slave_buffer[0], serial_slave_buffer[1], 67 serial_slave_buffer[0], serial_slave_buffer[1],
68 serial_slave_buffer[2], serial_slave_buffer[3], 68 serial_slave_buffer[2], serial_slave_buffer[3]);
69 serial_slave_buffer[4] );
70#endif 69#endif
71 } 70 }
72 } else { 71 } else {