mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Increase USB stack size on iPod Nano 2G to prevent screendump from overflowing it. Not committing this to trunk because a better, but more invasive, fix is being prepared.
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_7@28353 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a51b982cd4
commit
c191eb7d8f
1 changed files with 4 additions and 0 deletions
|
@ -71,7 +71,11 @@ static int usb_mmc_countdown = 0;
|
||||||
/* FIXME: The extra 0x800 is consumed by fat_mount() when the fsinfo
|
/* FIXME: The extra 0x800 is consumed by fat_mount() when the fsinfo
|
||||||
needs updating */
|
needs updating */
|
||||||
#ifdef USB_FULL_INIT
|
#ifdef USB_FULL_INIT
|
||||||
|
#ifdef IPOD_NANO2G
|
||||||
|
static long usb_stack[(DEFAULT_STACK_SIZE + 0x1000)/sizeof(long)];
|
||||||
|
#else
|
||||||
static long usb_stack[(DEFAULT_STACK_SIZE + 0x800)/sizeof(long)];
|
static long usb_stack[(DEFAULT_STACK_SIZE + 0x800)/sizeof(long)];
|
||||||
|
#endif
|
||||||
static const char usb_thread_name[] = "usb";
|
static const char usb_thread_name[] = "usb";
|
||||||
static unsigned int usb_thread_entry = 0;
|
static unsigned int usb_thread_entry = 0;
|
||||||
#ifndef USB_STATUS_BY_EVENT
|
#ifndef USB_STATUS_BY_EVENT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue