1
0
Fork 0

brings alps64 up-to-date (needs testing)

This commit is contained in:
Jack Humbert 2016-05-28 11:56:06 -04:00
parent 209ee3cd05
commit de57799530
9 changed files with 44 additions and 42 deletions

View file

@ -68,8 +68,10 @@ uint8_t matrix_cols(void) {
void matrix_init(void) {
/* frees PORTF by setting the JTD bit twice within four cycles */
MCUCR |= _BV(JTD);
MCUCR |= _BV(JTD);
#ifdef __AVR_ATmega32U4__
MCUCR |= _BV(JTD);
MCUCR |= _BV(JTD);
#endif
/* initializes the I/O pins */
#if DIODE_DIRECTION == COL2ROW
for (int8_t r = MATRIX_ROWS - 1; r >= 0; --r) {