mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-05-12 11:43:16 -04:00
usb: increase usb thread stack size
Change-Id: I07283a68056e095efba8019dac2aa37d65c0ef6c
This commit is contained in:
parent
c2e1094383
commit
e50ad40814
1 changed files with 6 additions and 1 deletions
|
|
@ -86,7 +86,12 @@ static int usb_mmc_countdown = 0;
|
|||
#ifndef USB_EXTRA_STACK
|
||||
# define USB_EXTRA_STACK 0x0 /*Define in firmware/export/config/[target].h*/
|
||||
#endif
|
||||
static long usb_stack[(DEFAULT_STACK_SIZE*4 + DUMP_BMP_LINESIZE + USB_EXTRA_STACK)/sizeof(long)];
|
||||
#ifdef USB_ENABLE_IAP
|
||||
#define IAP_EXTRA_STACK DEFAULT_STACK_SIZE*2
|
||||
#else
|
||||
#define IAP_EXTRA_STACK 0
|
||||
#endif
|
||||
static long usb_stack[(DEFAULT_STACK_SIZE*4 + DUMP_BMP_LINESIZE + IAP_EXTRA_STACK + USB_EXTRA_STACK)/sizeof(long)];
|
||||
static const char usb_thread_name[] = "usb";
|
||||
static unsigned int usb_thread_entry = 0;
|
||||
static bool usb_monitor_enabled = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue