summaryrefslogtreecommitdiff
path: root/firmware/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/usb.c')
-rw-r--r--firmware/usb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/usb.c b/firmware/usb.c
index af16b7d4bd..a76eb66fef 100644
--- a/firmware/usb.c
+++ b/firmware/usb.c
@@ -69,10 +69,9 @@ static int usb_state;
69static int usb_mmc_countdown = 0; 69static int usb_mmc_countdown = 0;
70#endif 70#endif
71 71
72/* FIXME: The extra 0x800 is consumed by fat_mount() when the fsinfo 72/* Make sure there's enough stack space for screendump */
73 needs updating */
74#ifdef USB_FULL_INIT 73#ifdef USB_FULL_INIT
75static long usb_stack[(DEFAULT_STACK_SIZE + 0x800)/sizeof(long)]; 74static long usb_stack[(DEFAULT_STACK_SIZE + SECTOR_SIZE + BMP_LINESIZE)/sizeof(long)];
76static const char usb_thread_name[] = "usb"; 75static const char usb_thread_name[] = "usb";
77static unsigned int usb_thread_entry = 0; 76static unsigned int usb_thread_entry = 0;
78#ifndef USB_STATUS_BY_EVENT 77#ifndef USB_STATUS_BY_EVENT