aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/common/keyboard.c
diff options
context:
space:
mode:
authorXScorpion2 <rcalt2vt@gmail.com>2020-12-01 12:04:42 -0600
committerGitHub <noreply@github.com>2020-12-01 10:04:42 -0800
commita8d0ec0749046b0ab89c18b1b7083b1e8674de2a (patch)
tree06c81bed47c6f4128bf0fc33697646994bffab00 /tmk_core/common/keyboard.c
parent9c03a8959621016d27fdd7cdfbabce28fd7d1757 (diff)
downloadqmk_firmware-a8d0ec0749046b0ab89c18b1b7083b1e8674de2a.tar.gz
qmk_firmware-a8d0ec0749046b0ab89c18b1b7083b1e8674de2a.zip
[Split] Sync Timer feature (#10997)
A timer that is kept in sync between the halves of a split keyboard
Diffstat (limited to 'tmk_core/common/keyboard.c')
-rw-r--r--tmk_core/common/keyboard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmk_core/common/keyboard.c b/tmk_core/common/keyboard.c
index 8c7bdc8b5..a1fbc01da 100644
--- a/tmk_core/common/keyboard.c
+++ b/tmk_core/common/keyboard.c
@@ -23,6 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
23#include "led.h" 23#include "led.h"
24#include "keycode.h" 24#include "keycode.h"
25#include "timer.h" 25#include "timer.h"
26#include "sync_timer.h"
26#include "print.h" 27#include "print.h"
27#include "debug.h" 28#include "debug.h"
28#include "command.h" 29#include "command.h"
@@ -255,6 +256,7 @@ __attribute__((weak)) void housekeeping_task_user(void) {}
255 */ 256 */
256void keyboard_init(void) { 257void keyboard_init(void) {
257 timer_init(); 258 timer_init();
259 sync_timer_init();
258 matrix_init(); 260 matrix_init();
259#ifdef VIA_ENABLE 261#ifdef VIA_ENABLE
260 via_init(); 262 via_init();