aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/rev6/chconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/rev6/chconf.h')
-rw-r--r--keyboards/planck/rev6/chconf.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/keyboards/planck/rev6/chconf.h b/keyboards/planck/rev6/chconf.h
index 0298c11c4..e1243f23e 100644
--- a/keyboards/planck/rev6/chconf.h
+++ b/keyboards/planck/rev6/chconf.h
@@ -1,8 +1,8 @@
1/* Copyright 2020 QMK Contributors 1/* Copyright 2020 QMK
2 * 2 *
3 * This program is free software: you can redistribute it and/or modify 3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by 4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 3 of the License, or 5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version. 6 * (at your option) any later version.
7 * 7 *
8 * This program is distributed in the hope that it will be useful, 8 * This program is distributed in the hope that it will be useful,
@@ -14,8 +14,16 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17// Need to override the SysTick timer to use TIM3 -- this is a 16-bit timer on F303 17/*
18// so we need to change resolution and frequency to match. 18 * This file was auto-generated by:
19 * `qmk chibios-confmigrate -i keyboards/planck/rev6/chconf.h -r platforms/chibios/QMK_PROTON_C/configs/chconf.h`
20 */
21
22#pragma once
23
19#define CH_CFG_ST_RESOLUTION 16 24#define CH_CFG_ST_RESOLUTION 16
25
20#define CH_CFG_ST_FREQUENCY 10000 26#define CH_CFG_ST_FREQUENCY 10000
21#include_next "chconf.h" 27
28#include_next <chconf.h>
29