summaryrefslogtreecommitdiffstats
path: root/keyboards/bigswitch/bigswitch.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/bigswitch/bigswitch.c')
-rw-r--r--keyboards/bigswitch/bigswitch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/bigswitch/bigswitch.c b/keyboards/bigswitch/bigswitch.c
index dfd9710e2..b924c7017 100644
--- a/keyboards/bigswitch/bigswitch.c
+++ b/keyboards/bigswitch/bigswitch.c
@@ -19,10 +19,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
volatile uint8_t runonce = true;
static uint16_t my_timer;
+__attribute__ ((weak))
void matrix_init_user(void) {
my_timer = timer_read();
}
+__attribute__ ((weak))
void matrix_scan_user(void) {
if (runonce && timer_elapsed(my_timer) > 1000) {
runonce = false;