diff options
author | wanleg <32079073+wanleg@users.noreply.github.com> | 2018-09-17 13:41:59 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-09-17 13:41:59 -0700 |
commit | fe3bfd91c1a085716baa2b4396709ad5d77c7c75 (patch) | |
tree | aa6fed83c0626b0a736696f56ff4a7dae0272504 /keyboards/bigswitch/bigswitch.c | |
parent | 743449472e58651ec8111e6f70811103fb0a28bd (diff) |
Keymap: Big switch config (#3904)
* bigswitch keymap
* bigswitch keymap
* bigswitch keymap
* bigswitch keymap
* recommended edits made
* forgot to revert this change with the others
Diffstat (limited to 'keyboards/bigswitch/bigswitch.c')
-rw-r--r-- | keyboards/bigswitch/bigswitch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/bigswitch/bigswitch.c b/keyboards/bigswitch/bigswitch.c index dfd9710e27..b924c7017c 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; |