diff options
| author | tmk <hasu@tmk-kbd.com> | 2015-05-17 19:34:34 +0900 |
|---|---|---|
| committer | tmk <hasu@tmk-kbd.com> | 2015-05-19 00:39:43 +0900 |
| commit | 6b588eb7f7893500e18686e673dbf12b511dc975 (patch) | |
| tree | 62d7a75008d3407f318ae650c7a45643944eee31 /tmk_core/common/keyboard.c | |
| parent | 9a2282157fbdf57ef0a50d4fea7da72505906588 (diff) | |
| download | qmk_firmware-6b588eb7f7893500e18686e673dbf12b511dc975.tar.gz qmk_firmware-6b588eb7f7893500e18686e673dbf12b511dc975.zip | |
Add keyboard_setup() and matrix_setup()
Diffstat (limited to 'tmk_core/common/keyboard.c')
| -rw-r--r-- | tmk_core/common/keyboard.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tmk_core/common/keyboard.c b/tmk_core/common/keyboard.c index b03b124d7..eb7b096be 100644 --- a/tmk_core/common/keyboard.c +++ b/tmk_core/common/keyboard.c | |||
| @@ -62,6 +62,12 @@ static bool has_ghost_in_row(uint8_t row) | |||
| 62 | #endif | 62 | #endif |
| 63 | 63 | ||
| 64 | 64 | ||
| 65 | __attribute__ ((weak)) void matrix_setup(void) {} | ||
| 66 | void keyboard_setup(void) | ||
| 67 | { | ||
| 68 | matrix_setup(); | ||
| 69 | } | ||
| 70 | |||
| 65 | void keyboard_init(void) | 71 | void keyboard_init(void) |
| 66 | { | 72 | { |
| 67 | timer_init(); | 73 | timer_init(); |
