summaryrefslogtreecommitdiff
path: root/keyboards/viktus/sp111_v2/sp111_v2.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/viktus/sp111_v2/sp111_v2.c')
-rw-r--r--keyboards/viktus/sp111_v2/sp111_v2.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/viktus/sp111_v2/sp111_v2.c b/keyboards/viktus/sp111_v2/sp111_v2.c
new file mode 100644
index 0000000000..96a9aaa5fe
--- /dev/null
+++ b/keyboards/viktus/sp111_v2/sp111_v2.c
@@ -0,0 +1,12 @@
+// Copyright 2023 BlindAssassin111 (@blindassassin111)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "quantum.h"
+
+void keyboard_pre_init_kb(void) {
+ // enable built in pullups to avoid timeouts when right hand not connected
+ setPinInputHigh(D0);
+ setPinInputHigh(D1);
+
+ keyboard_pre_init_user();
+}