summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-10-09 11:31:13 -0700
committerGitHub <noreply@github.com>2021-10-09 11:31:13 -0700
commit82bf688e4499b0646979a47f98c0c0dd59bd70c2 (patch)
tree662b7641e3ccf09ee073458c7d5c870787f7e5a5 /keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c
parentf90d8b35f2c3ec1262db719bd66bcad6ef6f2773 (diff)
[Keyboard] Update Tractyl Manuform config for F411 (#14770)
Diffstat (limited to 'keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c')
-rw-r--r--keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c b/keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c
index 394c597b84..700b0685f2 100644
--- a/keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c
+++ b/keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c
@@ -24,8 +24,10 @@ void matrix_scan_sub_kb(void) {
}
}
+#ifdef USB_VBUS_PIN
bool usb_vbus_state(void) {
setPinInputLow(USB_VBUS_PIN);
wait_us(5);
return readPin(USB_VBUS_PIN);
}
+#endif