1
0
Fork 0
forked from len0rd/rockbox

make usb_serial work again. Also know as "make sure arrays are allocated at their correct size"

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16615 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2008-03-10 20:28:59 +00:00
parent 59b5dfbc7f
commit 326d0ab8c3
2 changed files with 6 additions and 6 deletions

View file

@ -2367,7 +2367,7 @@ static bool dbg_scrollwheel(void)
}
#endif
#if defined(HAVE_USBSTACK) && defined(ROCKBOX_HAS_LOGF)
#if defined(HAVE_USBSTACK) && defined(ROCKBOX_HAS_LOGF) && defined(USB_SERIAL)
static bool logf_usb_serial(void)
{
bool serial_enabled = !usb_core_driver_enabled(USB_DRIVER_SERIAL);
@ -2457,7 +2457,7 @@ static const struct the_menu_item menuitems[] = {
{"logf", logfdisplay },
{"logfdump", logfdump },
#endif
#if defined(HAVE_USBSTACK) && defined(ROCKBOX_HAS_LOGF)
#if defined(HAVE_USBSTACK) && defined(ROCKBOX_HAS_LOGF) && defined(USB_SERIAL)
{"logf over usb",logf_usb_serial },
#endif
#ifdef CPU_BOOST_LOGGING