diff --git a/keyboard/kimera/kimera.c b/keyboard/kimera/kimera.c index 470d84d5..2be458e9 100644 --- a/keyboard/kimera/kimera.c +++ b/keyboard/kimera/kimera.c @@ -23,6 +23,7 @@ along with this program. If not, see . #include "i2cmaster.h" #include "kimera.h" #include "debug.h" +#include "print.h" static uint8_t row_mapping[PX_COUNT] = { 0, 1, 2, 3, 4, 5, 6, 7, @@ -62,6 +63,7 @@ void kimera_init(void) /* read config */ //write_matrix_mapping(); /* debug */ if (read_matrix_mapping()) { + xprintf("Matrix Mapping Error!\n"); write_matrix_mapping(); } @@ -158,8 +160,6 @@ void write_matrix_mapping(void) void kimera_scan(void) { uint8_t ret; - dprintf("exp in use: %d\n", exp_in_use); - dprintf("exp online: %d\n", exp_online); for (uint8_t exp = 0; exp < EXP_COUNT; exp++) { if (exp_in_use & (1<= 1000) { + xprintf("======== 1s task ========\n"); xprintf("Scan, %u\n", kimera_scan_timestamp); kimera_scan_timestamp = timer_read(); kimera_scan(); + xprintf("=========================\n"); } #if IMPROVED_DEBOUNCE