Fix warning about unused functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20751 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2a085f4477
commit
01ada299a3
1 changed files with 2 additions and 1 deletions
|
@ -2583,7 +2583,8 @@ static bool dbg_scrollwheel(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#if defined (HAVE_USBSTACK)
|
||||
#if defined (HAVE_USBSTACK) \
|
||||
&& (defined(ROCKBOX_HAS_LOGF) && defined(USB_SERIAL) || defined(USB_HID))
|
||||
static bool toggle_usb_core_driver(int driver, char *msg)
|
||||
{
|
||||
bool enabled = !usb_core_driver_enabled(driver);
|
||||
|
|
Loading…
Reference in a new issue