Keyboard: fix for debug crkbd (#4469)

pull/4508/head
epaew 6 years ago committed by Drashna Jaelre
parent e4dfcf896e
commit dd7534ccca

@ -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) {
return process_record_gfx(keycode,record) && process_record_user(keycode, record); #ifdef SSD1306OLED
return process_record_gfx(keycode,record) && process_record_user(keycode, record);
#else
return process_record_user(keycode, record);
#endif
} }

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

Loading…
Cancel
Save