summaryrefslogtreecommitdiff
path: root/keyboards/kbdfans/phaseone/phaseone.c
diff options
context:
space:
mode:
authormoyi4681 <moyi4681@users.noreply.github.com>2022-04-16 11:28:16 -0700
committerGitHub <noreply@github.com>2022-04-16 11:28:16 -0700
commit3b6e48b012fa10e87e6cf1aa051cdcf353077a5a (patch)
tree5e25182d007a2832af1fb6dfcbae15d47555b384 /keyboards/kbdfans/phaseone/phaseone.c
parent6d13199ed0e6502f91719d528f86b03ce7f6acae (diff)
[Keyboard] Add Phase One keyboard (#16430)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/kbdfans/phaseone/phaseone.c')
-rw-r--r--keyboards/kbdfans/phaseone/phaseone.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/keyboards/kbdfans/phaseone/phaseone.c b/keyboards/kbdfans/phaseone/phaseone.c
new file mode 100644
index 0000000000..f83d14c1b3
--- /dev/null
+++ b/keyboards/kbdfans/phaseone/phaseone.c
@@ -0,0 +1,20 @@
+/* Copyright 2022 Dztech
+ *
+ * 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 "phaseone.h"
+void keyboard_pre_init_kb(void) {
+ setPinOutput(D4);
+}