aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/hardlineworks/otd_plus/otd_plus.c
diff options
context:
space:
mode:
authorGravatar gadzkun <gadzkun@gmail.com>2020-07-31 11:23:06 +0700
committerGravatar GitHub <noreply@github.com>2020-07-30 21:23:06 -0700
commit2ec2f80bfce352e60d58dd5248ab347f7272c5b3 (patch)
tree50c23f363a86f110dc983d050fe6d2eca159f5af /keyboards/hardlineworks/otd_plus/otd_plus.c
parent6ff08202a5183733b51b35530b65dc6ad11f3824 (diff)
downloadqmk_firmware-2ec2f80bfce352e60d58dd5248ab347f7272c5b3.tar.gz
[Keyboard] Add otd_plus keyboard (#9726)
Diffstat (limited to 'keyboards/hardlineworks/otd_plus/otd_plus.c')
-rw-r--r--keyboards/hardlineworks/otd_plus/otd_plus.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/hardlineworks/otd_plus/otd_plus.c b/keyboards/hardlineworks/otd_plus/otd_plus.c
new file mode 100644
index 000000000..f7f96800d
--- /dev/null
+++ b/keyboards/hardlineworks/otd_plus/otd_plus.c
@@ -0,0 +1,12 @@
+#include "otd_plus.h"
+
+void keyboard_pre_init_kb(void) {
+ led_init_ports();
+ keyboard_pre_init_user();
+}
+void led_init_ports(void) {
+ setPinOutput(CAPS_LOCK_LED_PIN);
+ setPinOutput(SCROLL_LOCK_LED_PIN);
+}
+
+