aboutsummaryrefslogtreecommitdiff
path: root/keyboard/hhkb/matrix.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-02-11 12:48:49 +0900
committertmk <nobody@nowhere>2013-02-11 12:48:49 +0900
commit8c80deb775ac151001dc1592a2e94e8677b49964 (patch)
treeaa62c5cbef8419d9cdded26440cfdb42f7d806fd /keyboard/hhkb/matrix.c
parent4701b08b71b187cb3d015bec7e05d30e35c344ac (diff)
parent39d093339393e1758eede06f736b1f99a68ac74c (diff)
downloadqmk_firmware-8c80deb775ac151001dc1592a2e94e8677b49964.tar.gz
qmk_firmware-8c80deb775ac151001dc1592a2e94e8677b49964.zip
Merge branch 'keymap2'
Conflicts: common/keyboard.c
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