From adfd5b92ebdc38721c89715e9071b35ecaeb79e9 Mon Sep 17 00:00:00 2001 From: Jun Wako Date: Tue, 7 Apr 2015 09:27:28 +0900 Subject: hhkb: Fix bug of matrix initialization for JP --- keyboard/hhkb/hhkb_avr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'keyboard/hhkb') diff --git a/keyboard/hhkb/hhkb_avr.h b/keyboard/hhkb/hhkb_avr.h index 7ea6322c73..4e7e070364 100644 --- a/keyboard/hhkb/hhkb_avr.h +++ b/keyboard/hhkb/hhkb_avr.h @@ -70,7 +70,7 @@ static inline void KEY_INIT(void) #ifdef HHKB_JP /* row extention for HHKB JP */ DDRC |= (1<<6|1<<7); - PORTC |= (1<<6|1<<7); + PORTC &= ~(1<<6|1<<7); #endif KEY_UNABLE(); KEY_PREV_OFF(); -- cgit v1.2.3