diff options
Diffstat (limited to 'firmware/usb.c')
-rw-r--r-- | firmware/usb.c | 5 |
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; | |||
69 | static int usb_mmc_countdown = 0; | 69 | static 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 |
75 | static long usb_stack[(DEFAULT_STACK_SIZE + 0x800)/sizeof(long)]; | 74 | static long usb_stack[(DEFAULT_STACK_SIZE + SECTOR_SIZE + BMP_LINESIZE)/sizeof(long)]; |
76 | static const char usb_thread_name[] = "usb"; | 75 | static const char usb_thread_name[] = "usb"; |
77 | static unsigned int usb_thread_entry = 0; | 76 | static unsigned int usb_thread_entry = 0; |
78 | #ifndef USB_STATUS_BY_EVENT | 77 | #ifndef USB_STATUS_BY_EVENT |