diff options
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 af2b2fd48..794a9152f 100644 --- a/tmk_core/common/keyboard.c +++ b/tmk_core/common/keyboard.c | |||
@@ -83,6 +83,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
83 | #ifdef VELOCIKEY_ENABLE | 83 | #ifdef VELOCIKEY_ENABLE |
84 | # include "velocikey.h" | 84 | # include "velocikey.h" |
85 | #endif | 85 | #endif |
86 | #ifdef VIA_ENABLE | ||
87 | # include "via.h" | ||
88 | #endif | ||
86 | 89 | ||
87 | // Only enable this if console is enabled to print to | 90 | // Only enable this if console is enabled to print to |
88 | #if defined(DEBUG_MATRIX_SCAN_RATE) && defined(CONSOLE_ENABLE) | 91 | #if defined(DEBUG_MATRIX_SCAN_RATE) && defined(CONSOLE_ENABLE) |
@@ -217,6 +220,9 @@ __attribute__((weak)) bool is_keyboard_master(void) { return true; } | |||
217 | void keyboard_init(void) { | 220 | void keyboard_init(void) { |
218 | timer_init(); | 221 | timer_init(); |
219 | matrix_init(); | 222 | matrix_init(); |
223 | #ifdef VIA_ENABLE | ||
224 | via_init(); | ||
225 | #endif | ||
220 | #ifdef QWIIC_ENABLE | 226 | #ifdef QWIIC_ENABLE |
221 | qwiic_init(); | 227 | qwiic_init(); |
222 | #endif | 228 | #endif |