From 82bf688e4499b0646979a47f98c0c0dd59bd70c2 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Sat, 9 Oct 2021 11:31:13 -0700 Subject: [Keyboard] Update Tractyl Manuform config for F411 (#14770) --- keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c') 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 -- cgit v1.2.3