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 dd7534cccabd9e1cea86e69741ed8c68cb3d0299
parent e4dfcf896ef641701564bec5ea1ea7aa81b072bd
Author: epaew <epaew@users.noreply.github.com>
Date:   Wed, 28 Nov 2018 08:18:11 +0900

Keyboard: fix for debug crkbd (#4469)


Diffstat:
keyboards/crkbd/crkbd.c | 11+++++++----
keyboards/crkbd/rev1/split_scomm.c | 5++---
2 files changed, 9 insertions(+), 7 deletions(-)

diff --git 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 +} diff --git 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) if( smatstatus == TRANSACTION_END ) { s_change_old = s_change_new; #ifdef CONSOLE_ENABLE - uprintf("slave matrix = %b %b %b %b %b\n", + uprintf("slave matrix = %b %b %b %b\n", serial_slave_buffer[0], serial_slave_buffer[1], - serial_slave_buffer[2], serial_slave_buffer[3], - serial_slave_buffer[4] ); + serial_slave_buffer[2], serial_slave_buffer[3]); #endif } } else {