X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Falps64%2Fmatrix.c;h=109bcf2cdd3660eefa980d241b6dd41021f2b377;hb=47775af20671e347e7e5545f63b42a51f0a4df04;hp=5638d7f69d9ef63f72490cd7a5485041ce23e5ce;hpb=6fe4af82fa21cbeb8e22c9f0630e5a908963cc13;p=max%2Ftmk_keyboard.git diff --git a/keyboard/alps64/matrix.c b/keyboard/alps64/matrix.c index 5638d7f6..109bcf2c 100644 --- a/keyboard/alps64/matrix.c +++ b/keyboard/alps64/matrix.c @@ -43,18 +43,6 @@ static void unselect_rows(void); static void select_row(uint8_t row); -inline -uint8_t matrix_rows(void) -{ - return MATRIX_ROWS; -} - -inline -uint8_t matrix_cols(void) -{ - return MATRIX_COLS; -} - #define LED_ON() do { DDRC |= (1<<5); PORTC |= (1<<5); } while (0) #define LED_OFF() do { DDRC &= ~(1<<5); PORTC &= ~(1<<5); } while (0) #define LED_TGL() do { DDRC |= (1<<5); PINC |= (1<<5); } while (0) @@ -107,28 +95,12 @@ uint8_t matrix_scan(void) return 1; } -inline -bool matrix_is_on(uint8_t row, uint8_t col) -{ - return (matrix[row] & ((matrix_row_t)1<