diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-11-17 06:56:56 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-11-17 06:58:46 -0500 |
commit | 0400a391d3138800752c4301070c65707043034d (patch) | |
tree | 5ea3382351813f44fae6fa3b11ed885f9016ebdd | |
parent | ad665a04d2254c1ec0757b632ec818cb5590894a (diff) | |
download | rockbox-0400a39.tar.gz rockbox-0400a39.zip |
usb: increase the stack size.
It's not large enough on some targets.
(this will be revisited when the USB insertion prompt stuff is moved
out of the USB helper and over to the main thread)
Change-Id: Iefed2cdf2fbb4ce92569fc5cacbdb479b7d24e61
-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 8c6eae9b3f..c27af4a378 100644 --- a/firmware/usb.c +++ b/firmware/usb.c @@ -79,7 +79,7 @@ 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*2 + DUMP_BMP_LINESIZE + USB_EXTRA_STACK)/sizeof(long)]; +static long usb_stack[(DEFAULT_STACK_SIZE*4 + DUMP_BMP_LINESIZE + 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; |