From 4acc38751e9c8e90921773e6e5f5a100b0729d98 Mon Sep 17 00:00:00 2001 From: tmk Date: Sun, 24 Oct 2010 03:27:43 +0900 Subject: switch debug on/off by pressing 4 keys on booting time --- hhkb/matrix.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'hhkb/matrix.c') diff --git a/hhkb/matrix.c b/hhkb/matrix.c index a1917793e7..a425439cca 100644 --- a/hhkb/matrix.c +++ b/hhkb/matrix.c @@ -32,6 +32,7 @@ static uint8_t _matrix1[MATRIX_ROWS]; static bool matrix_has_ghost_in_row(int row); +static int bit_pop(uint8_t bits); inline @@ -88,7 +89,7 @@ int matrix_scan(void) } bool matrix_is_modified(void) { - for (int i=0; i