summaryrefslogtreecommitdiff
path: root/keyboards/kinesis/kint41/chconf.h
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@users.noreply.github.com>2021-06-30 00:54:45 +0200
committerGitHub <noreply@github.com>2021-06-30 08:54:45 +1000
commitf533d9e033e59d1eb98cc61fdb5f01eeccb827de (patch)
treed42b8e7d67663a1ead3c5f489cb0a8a94ef7278b /keyboards/kinesis/kint41/chconf.h
parent76ed98c51d3aaa972410f3e62bbeccb5d80a5c42 (diff)
downloadqmk_firmware-f533d9e033e59d1eb98cc61fdb5f01eeccb827de.tar.gz
qmk_firmware-f533d9e033e59d1eb98cc61fdb5f01eeccb827de.zip
add kinT kinesis keyboard controller (kint41 variant) (#13333)
fixes https://github.com/kinx-project/kint/issues/5
Diffstat (limited to 'keyboards/kinesis/kint41/chconf.h')
-rw-r--r--keyboards/kinesis/kint41/chconf.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/keyboards/kinesis/kint41/chconf.h b/keyboards/kinesis/kint41/chconf.h
new file mode 100644
index 0000000000..0cd253b95d
--- /dev/null
+++ b/keyboards/kinesis/kint41/chconf.h
@@ -0,0 +1,33 @@
+/* Copyright 2020 QMK
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/*
+ * This file was auto-generated by:
+ * `qmk chibios-confmigrate -i keyboards/kinesis/kint36/chconf.h -r platforms/chibios/common/configs/chconf.h`
+ */
+
+#pragma once
+
+#define CH_CFG_ST_TIMEDELTA 0
+
+#define CH_CFG_TIME_QUANTUM 20
+
+// One tick (minimum sleep interval) will be 100 μs. This value cannot be
+// increased arbitrarily: chSysTimerHandlerI() must be executed in less than one
+// tick as per http://forum.chibios.org/viewtopic.php?t=3712#p27851
+#define CH_CFG_ST_FREQUENCY 10000
+
+#include_next <chconf.h>