summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-03-25 14:08:58 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-03-25 14:08:58 +0000
commita9c645f887947c924226f9570b61572c2d355b55 (patch)
tree6b8cf0460cd78d91d4aa7fe5488b9ab16cd26626
parentb81a3c54a49a7adac76236f06a1b9327aac85cba (diff)
downloadrockbox-a9c645f887947c924226f9570b61572c2d355b55.tar.gz
rockbox-a9c645f887947c924226f9570b61572c2d355b55.zip
Increased the USB thread stack. This fixed bug #762588.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4439 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/usb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/usb.c b/firmware/usb.c
index 7f6713f858..b56f04fc43 100644
--- a/firmware/usb.c
+++ b/firmware/usb.c
@@ -57,7 +57,9 @@ static int countdown;
57 57
58static int usb_state; 58static int usb_state;
59 59
60static char usb_stack[DEFAULT_STACK_SIZE]; 60/* FIXME: The extra 0x400 is consumed by fat_mount() when the fsinfo
61 needs updating */
62static char usb_stack[DEFAULT_STACK_SIZE + 0x400];
61static char usb_thread_name[] = "usb"; 63static char usb_thread_name[] = "usb";
62static struct event_queue usb_queue; 64static struct event_queue usb_queue;
63static bool last_usb_status; 65static bool last_usb_status;