brings alps64 up-to-date (needs testing)
This commit is contained in:
parent
209ee3cd05
commit
de57799530
9 changed files with 44 additions and 42 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue