forked from len0rd/rockbox
add some #ifdefs to gt rid of some unused variable warnings (and their RAM use)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16487 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
776d015cc4
commit
793fc3f072
1 changed files with 4 additions and 0 deletions
|
|
@ -285,10 +285,14 @@ static int usb_address = 0;
|
||||||
static bool initialized = false;
|
static bool initialized = false;
|
||||||
static enum { DEFAULT, ADDRESS, CONFIGURED } usb_state;
|
static enum { DEFAULT, ADDRESS, CONFIGURED } usb_state;
|
||||||
|
|
||||||
|
#ifdef USB_STORAGE
|
||||||
static bool usb_core_storage_enabled = false;
|
static bool usb_core_storage_enabled = false;
|
||||||
|
#endif
|
||||||
/* Next one is non-static, to enable setting it from the debug menu */
|
/* Next one is non-static, to enable setting it from the debug menu */
|
||||||
bool usb_core_serial_enabled = false;
|
bool usb_core_serial_enabled = false;
|
||||||
|
#ifdef USB_CHARGING_ONLY
|
||||||
static bool usb_core_charging_enabled = false;
|
static bool usb_core_charging_enabled = false;
|
||||||
|
#endif
|
||||||
#if defined(USB_BENCHMARK)
|
#if defined(USB_BENCHMARK)
|
||||||
static bool usb_core_benchmark_enabled = false;
|
static bool usb_core_benchmark_enabled = false;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue