forked from len0rd/rockbox
Make code that depends on HAVE_USB_CHARGING_ENABLE check HAVE_USBSTACK.
This fixes building without HAVE_USBSTACK Change-Id: If8fec87a3ed4de583864ed2bab69be1f2ad8ac52
This commit is contained in:
parent
5caaf70f34
commit
64d048be2b
4 changed files with 5 additions and 5 deletions
|
@ -619,7 +619,7 @@ struct user_settings
|
|||
#ifdef HAVE_SPDIF_POWER
|
||||
bool spdif_enable; /* S/PDIF power on/off */
|
||||
#endif
|
||||
#ifdef HAVE_USB_CHARGING_ENABLE
|
||||
#if defined (HAVE_USBSTACK) && defined(HAVE_USB_CHARGING_ENABLE)
|
||||
int usb_charging;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue