mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Add 1K to the usb stack to prevent overflow in screendump mode
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_10@31139 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
689285bd8e
commit
0711dd10ac
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ static int usb_mmc_countdown = 0;
|
||||||
|
|
||||||
/* Make sure there's enough stack space for screendump */
|
/* Make sure there's enough stack space for screendump */
|
||||||
#ifdef USB_FULL_INIT
|
#ifdef USB_FULL_INIT
|
||||||
static long usb_stack[(DEFAULT_STACK_SIZE + DUMP_BMP_LINESIZE)/sizeof(long)];
|
static long usb_stack[(DEFAULT_STACK_SIZE + DUMP_BMP_LINESIZE + 0x400)/sizeof(long)];
|
||||||
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;
|
||||||
static bool usb_monitor_enabled = false;
|
static bool usb_monitor_enabled = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue