summaryrefslogtreecommitdiff
path: root/firmware/usb.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-11-17 06:56:56 -0500
committerSolomon Peachy <pizza@shaftnet.org>2020-11-17 06:58:46 -0500
commit0400a391d3138800752c4301070c65707043034d (patch)
tree5ea3382351813f44fae6fa3b11ed885f9016ebdd /firmware/usb.c
parentad665a04d2254c1ec0757b632ec818cb5590894a (diff)
downloadrockbox-0400a391d3138800752c4301070c65707043034d.tar.gz
rockbox-0400a391d3138800752c4301070c65707043034d.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
Diffstat (limited to 'firmware/usb.c')
-rw-r--r--firmware/usb.c2
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;
79#ifndef USB_EXTRA_STACK 79#ifndef USB_EXTRA_STACK
80# define USB_EXTRA_STACK 0x0 /*Define in firmware/export/config/[target].h*/ 80# define USB_EXTRA_STACK 0x0 /*Define in firmware/export/config/[target].h*/
81#endif 81#endif
82static long usb_stack[(DEFAULT_STACK_SIZE*2 + DUMP_BMP_LINESIZE + USB_EXTRA_STACK)/sizeof(long)]; 82static long usb_stack[(DEFAULT_STACK_SIZE*4 + DUMP_BMP_LINESIZE + USB_EXTRA_STACK)/sizeof(long)];
83static const char usb_thread_name[] = "usb"; 83static const char usb_thread_name[] = "usb";
84static unsigned int usb_thread_entry = 0; 84static unsigned int usb_thread_entry = 0;
85static bool usb_monitor_enabled = false; 85static bool usb_monitor_enabled = false;