summaryrefslogtreecommitdiff
path: root/keyboards/loki65/loki65.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-04-22 07:32:34 +0000
committerQMK Bot <hello@qmk.fm>2022-04-22 07:32:34 +0000
commita372ddcfed4e9d7ff991543a973735659fbcaaba (patch)
tree77d1ddd1b88aec02809d5c04d022b44e4bcc07d0 /keyboards/loki65/loki65.c
parent76f3f0858d58d4a63185cfecb17302b6d314a53e (diff)
parent912e24ba9a7f1196c74ee852e74d97636f706284 (diff)
downloadqmk_firmware-a372ddcfed4e9d7ff991543a973735659fbcaaba.tar.gz
qmk_firmware-a372ddcfed4e9d7ff991543a973735659fbcaaba.zip
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/loki65/loki65.c')
-rw-r--r--keyboards/loki65/loki65.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/keyboards/loki65/loki65.c b/keyboards/loki65/loki65.c
new file mode 100644
index 0000000000..1a498e6aa0
--- /dev/null
+++ b/keyboards/loki65/loki65.c
@@ -0,0 +1,21 @@
+/* Copyright 2022 Yiancar-Designs
+ *
+ * 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 "loki65.h"
+
+void led_init_ports(void) {
+ // Set our LED pins as open drain outputs
+ palSetLineMode(LED_CAPS_LOCK_PIN, PAL_MODE_OUTPUT_OPENDRAIN);
+}