summaryrefslogtreecommitdiffstats
path: root/keyboards/kinesis/kint36/kint36.c
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@users.noreply.github.com>2021-03-31 01:41:41 +0200
committerGitHub <noreply@github.com>2021-03-31 10:41:41 +1100
commit9d3b11d4856f478e2c91788cf77a52e62ec85d19 (patch)
treeeee166faf435cdac54b62bcccdc2c295cc430964 /keyboards/kinesis/kint36/kint36.c
parenta8889718aa1f8d0d15dce86ebf3d2e8c12ba6abb (diff)
add kinesis/kint36 (#10171)
This moves the config_common.h into the files that include ../config.h, so that the kint36/config.h does not include it (which would cause compilation errors).
Diffstat (limited to 'keyboards/kinesis/kint36/kint36.c')
-rw-r--r--keyboards/kinesis/kint36/kint36.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/keyboards/kinesis/kint36/kint36.c b/keyboards/kinesis/kint36/kint36.c
new file mode 100644
index 0000000000..108c14c7ba
--- /dev/null
+++ b/keyboards/kinesis/kint36/kint36.c
@@ -0,0 +1,26 @@
+/* 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/>.
+ */
+
+#include "kint36.h"
+
+void matrix_init_kb(void) {
+ matrix_init_user();
+
+// Turn on the Teensy 3.6 Power LED:
+#define LED_POWER C5
+ setPinOutput(LED_POWER);
+ writePinHigh(LED_POWER);
+}