ibasso: Hopefully hack usb into building again.

Change-Id: I6f369d60319704ab4d2c18b80ba6e78902630790
This commit is contained in:
Solomon Peachy 2020-11-13 20:03:49 -05:00
parent 43f90746d5
commit 03cd773051
5 changed files with 14 additions and 11 deletions

View file

@ -817,13 +817,6 @@ int usb_release_exclusive_storage(void)
return bccount;
}
#ifdef HAVE_USB_POWER
bool usb_powered_only(void)
{
return usb_state == USB_POWERED;
}
#endif /* HAVE_USB_POWER */
#ifdef USB_ENABLE_HID
void usb_set_hid(bool enable)
{
@ -832,6 +825,13 @@ void usb_set_hid(bool enable)
}
#endif /* USB_ENABLE_HID */
#ifdef HAVE_USB_POWER
bool usb_powered_only(void)
{
return usb_state == USB_POWERED;
}
#endif /* HAVE_USB_POWER */
#elif defined(USB_NONE)
/* Dummy functions for USB_NONE */