diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2011-12-04 17:04:57 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2011-12-04 17:04:57 +0000 |
commit | 0711dd10ac0eba82890aeef2c8a80bae6d3c160f (patch) | |
tree | 6b7d6651444cda1c7ef73585e04e277b7490e35a | |
parent | 689285bd8e71dd9223c50c19a5deb192577ea267 (diff) | |
download | rockbox-0711dd10ac0eba82890aeef2c8a80bae6d3c160f.tar.gz rockbox-0711dd10ac0eba82890aeef2c8a80bae6d3c160f.zip |
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
-rw-r--r-- | firmware/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/usb.c b/firmware/usb.c index 4e71c06119..2134f4e09c 100644 --- a/firmware/usb.c +++ b/firmware/usb.c | |||
@@ -72,7 +72,7 @@ static int usb_mmc_countdown = 0; | |||
72 | 72 | ||
73 | /* Make sure there's enough stack space for screendump */ | 73 | /* Make sure there's enough stack space for screendump */ |
74 | #ifdef USB_FULL_INIT | 74 | #ifdef USB_FULL_INIT |
75 | static long usb_stack[(DEFAULT_STACK_SIZE + DUMP_BMP_LINESIZE)/sizeof(long)]; | 75 | static long usb_stack[(DEFAULT_STACK_SIZE + DUMP_BMP_LINESIZE + 0x400)/sizeof(long)]; |
76 | static const char usb_thread_name[] = "usb"; | 76 | static const char usb_thread_name[] = "usb"; |
77 | static unsigned int usb_thread_entry = 0; | 77 | static unsigned int usb_thread_entry = 0; |
78 | static bool usb_monitor_enabled = false; | 78 | static bool usb_monitor_enabled = false; |