mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
usb: Fix warning introduced in f11c89aae2
'usb_power_only' only should exist for USB_FULL_INIT Change-Id: I23d14477ba55e81048ab29dada8d7d2ee44532b0
This commit is contained in:
parent
f11c89aae2
commit
a097c23db2
1 changed files with 2 additions and 0 deletions
|
|
@ -82,7 +82,9 @@ static int usb_state = USB_EXTRACTED;
|
|||
static int usb_mmc_countdown = 0;
|
||||
#endif
|
||||
#if defined(HAVE_USB_POWER) || defined(HAVE_USB_ADB)
|
||||
#ifdef USB_FULL_INIT
|
||||
static bool usb_power_only = false;
|
||||
#endif
|
||||
static int usb_mode = USBMODE_DEFAULT;
|
||||
void usb_set_mode(int mode)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue