fix: make sure debug build bootloader always handles USB (#6900)

This commit is contained in:
3djc
2025-12-24 09:27:06 +10:00
committed by GitHub
parent 52a64cc813
commit ef638cc9d3
@@ -84,7 +84,7 @@ void setSelectedUsbMode(int mode)
#if defined(USB_GPIO_VBUS) #if defined(USB_GPIO_VBUS)
int usbPlugged() int usbPlugged()
{ {
#if defined(DEBUG_DISABLE_USB) #if defined(DEBUG_DISABLE_USB) && !defined(BOOT)
return false; return false;
#endif #endif