summaryrefslogtreecommitdiff
path: root/keyboards/kinesis/kintlc/kintlc.c
diff options
context:
space:
mode:
authorAlex Băluț <alexandru.balut@gmail.com>2022-07-11 19:46:51 +0000
committerGitHub <noreply@github.com>2022-07-11 12:46:51 -0700
commit2bb05507076c8bdb64a8cffd0895795d392e4b82 (patch)
tree544db0a47a1b85472a640cd68b1a80343d8fe5e7 /keyboards/kinesis/kintlc/kintlc.c
parent61a5059fc5595eb60db75d0b7a6bffd3189db442 (diff)
[Keyboard] add kinesis/kintlc (#17301)
Diffstat (limited to 'keyboards/kinesis/kintlc/kintlc.c')
-rw-r--r--keyboards/kinesis/kintlc/kintlc.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/keyboards/kinesis/kintlc/kintlc.c b/keyboards/kinesis/kintlc/kintlc.c
new file mode 100644
index 0000000000..19b723600a
--- /dev/null
+++ b/keyboards/kinesis/kintlc/kintlc.c
@@ -0,0 +1,27 @@
+/* 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 "kintlc.h"
+
+#define LED_POWER LINE_PIN13
+
+void matrix_init_kb(void) {
+ matrix_init_user();
+
+ // Turn on the Teensy LC Power LED:
+ setPinOutput(LED_POWER);
+ writePinHigh(LED_POWER);
+}