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:
Frank Gevaerts 2009-04-19 21:32:20 +00:00
parent 2a085f4477
commit 01ada299a3

View file

@ -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);