summaryrefslogtreecommitdiffstats
path: root/keyboard/atomic/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/atomic/matrix.c')
-rw-r--r--keyboard/atomic/matrix.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/keyboard/atomic/matrix.c b/keyboard/atomic/matrix.c
index fd233ff53f..01f66e90fb 100644
--- a/keyboard/atomic/matrix.c
+++ b/keyboard/atomic/matrix.c
@@ -1,5 +1,6 @@
/*
-Copyright 2012 Jun Wako <wakojun@gmail.com>
+Copyright 2012 Jun Wako
+Generated by planckkeyboard.com (2014 Jack Humbert)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -22,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <stdbool.h>
#include <avr/io.h>
#include <util/delay.h>
-#include "action_layer.h"
#include "print.h"
#include "debug.h"
#include "util.h"
@@ -43,7 +43,6 @@ static void init_cols(void);
static void unselect_rows(void);
static void select_row(uint8_t row);
-
inline
uint8_t matrix_rows(void)
{
@@ -56,7 +55,6 @@ uint8_t matrix_cols(void)
return MATRIX_COLS;
}
-
void matrix_init(void)
{
// To use PORTF disable JTAG with writing JTD bit twice within four cycles.
@@ -106,7 +104,6 @@ uint8_t matrix_scan(void)
}
}
-
return 1;
}
@@ -119,7 +116,7 @@ bool matrix_is_modified(void)
inline
bool matrix_is_on(uint8_t row, uint8_t col)
{
- return (matrix[row] & ((matrix_row_t)1<<col));
+ return (matrix[row] & ((matrix_row_t)1<col));
}
inline