summaryrefslogtreecommitdiff
path: root/keyboards/handwired/splittest/teensy_2/teensy_2.c
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2019-10-14 00:05:41 +0100
committerGitHub <noreply@github.com>2019-10-14 00:05:41 +0100
commite796d7b49ebe8d0398853abb0d2dfa86396aa630 (patch)
treebe2c3f8977ed13ef4e42a6964748a6c3543b7272 /keyboards/handwired/splittest/teensy_2/teensy_2.c
parent2e7cd98c0644dc0f7f2a5cab5da7b0e019bd0810 (diff)
Update splittest/teensy_2 to use SPLIT_USB_DETECT (#7028)
Diffstat (limited to 'keyboards/handwired/splittest/teensy_2/teensy_2.c')
-rw-r--r--keyboards/handwired/splittest/teensy_2/teensy_2.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/keyboards/handwired/splittest/teensy_2/teensy_2.c b/keyboards/handwired/splittest/teensy_2/teensy_2.c
deleted file mode 100644
index bcc2a437bd..0000000000
--- a/keyboards/handwired/splittest/teensy_2/teensy_2.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include QMK_KEYBOARD_H
-
-bool is_keyboard_master(void) {
- // TODO: replace this override once USB host detection is implemented
- // SPLIT_HAND_PIN Combined with MASTER_LEFT or MASTER_RIGHT, gives a crude
- // way to force teensy to run as slave/master
- setPinInput(SPLIT_HAND_PIN);
-
-#if defined(MASTER_RIGHT)
- return !readPin(SPLIT_HAND_PIN);
-#else
- return readPin(SPLIT_HAND_PIN);
-#endif
-}