fix: make sure debug build bootloader always handles USB (#6900)
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user