Keyboard: fix for debug crkbd (#4469)

This commit is contained in:
epaew 2018-11-28 08:18:11 +09:00 committed by Drashna Jaelre
parent e4dfcf896e
commit dd7534ccca
2 changed files with 9 additions and 6 deletions

View file

@ -2,5 +2,9 @@
#include "ssd1306.h"
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
#ifdef SSD1306OLED
return process_record_gfx(keycode,record) && process_record_user(keycode, record);
#else
return process_record_user(keycode, record);
#endif
}

View file

@ -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 {