aboutsummaryrefslogtreecommitdiff
path: root/keyboard/hhkb/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/hhkb/matrix.c')
-rw-r--r--keyboard/hhkb/matrix.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboard/hhkb/matrix.c b/keyboard/hhkb/matrix.c
index fd0d6f97f..f53e36dbe 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/>.
24#include <avr/interrupt.h> 24#include <avr/interrupt.h>
25#include <util/delay.h> 25#include <util/delay.h>
26#include "print.h" 26#include "print.h"
27#include "debug.h"
27#include "util.h" 28#include "util.h"
28#include "timer.h" 29#include "timer.h"
29#include "matrix.h" 30#include "matrix.h"
@@ -135,6 +136,12 @@ uint8_t matrix_cols(void)
135 136
136void matrix_init(void) 137void matrix_init(void)
137{ 138{
139#ifdef DEBUG
140 print_enable = true;
141 debug_enable = true;
142 debug_keyboard = true;
143#endif
144
138 KEY_INIT(); 145 KEY_INIT();
139 146
140 // initialize matrix state: all keys off 147 // initialize matrix state: all keys off