Keyboard: fix for debug crkbd (#4469)

master
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" #include "ssd1306.h"
bool process_record_kb(uint16_t keycode, keyrecord_t *record) { bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
#ifdef SSD1306OLED
return process_record_gfx(keycode,record) && process_record_user(keycode, record); 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 ) { if( smatstatus == TRANSACTION_END ) {
s_change_old = s_change_new; s_change_old = s_change_new;
#ifdef CONSOLE_ENABLE #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[0], serial_slave_buffer[1],
serial_slave_buffer[2], serial_slave_buffer[3], serial_slave_buffer[2], serial_slave_buffer[3]);
serial_slave_buffer[4] );
#endif #endif
} }
} else { } else {