From c79209c8ef9a0a51e1c3d283535f310df0a82c29 Mon Sep 17 00:00:00 2001 From: bkleiner Date: Thu, 7 Sep 2023 23:49:08 +0200 Subject: [PATCH] usb: disable usb-detect --- src/driver/usb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/driver/usb.c b/src/driver/usb.c index 38f8ccc12..26699923a 100644 --- a/src/driver/usb.c +++ b/src/driver/usb.c @@ -40,11 +40,13 @@ void usb_init() { } uint8_t usb_detect() { + /* appears this not reliable on a good portion of boards if (target.usb_detect) { if (!gpio_pin_read(target.usb_detect)) { return 0; } } + */ return usb_device_configured; }