diff options
author | tmk <nobody@nowhere> | 2012-12-16 02:32:07 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2012-12-16 02:32:07 +0900 |
commit | 8a709c2750eab09ec0f83450410a13640931d48e (patch) | |
tree | 224bcea716521704d63993ed54917152a6bf046e /keyboard/hhkb/matrix.c | |
parent | 77f157943f4e083fb9f1eaa0a55078b128842458 (diff) |
Add initial fix for new keymap.
Diffstat (limited to 'keyboard/hhkb/matrix.c')
-rw-r--r-- | keyboard/hhkb/matrix.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboard/hhkb/matrix.c b/keyboard/hhkb/matrix.c index fd0d6f97f6..f53e36dbe0 100644 --- a/keyboard/hhkb/matrix.c +++ b/keyboard/hhkb/matrix.c @@ -24,6 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include <avr/interrupt.h> #include <util/delay.h> #include "print.h" +#include "debug.h" #include "util.h" #include "timer.h" #include "matrix.h" @@ -135,6 +136,12 @@ uint8_t matrix_cols(void) void matrix_init(void) { +#ifdef DEBUG + print_enable = true; + debug_enable = true; + debug_keyboard = true; +#endif + KEY_INIT(); // initialize matrix state: all keys off |