summaryrefslogtreecommitdiffstats
path: root/firmware/usb.c
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2011-02-27 22:44:54 +0000
committerMichael Sparmann <theseven@rockbox.org>2011-02-27 22:44:54 +0000
commit1b5e31ed43d2c09ada6a1313b2a1de0b262e74c6 (patch)
treeb31aa2a0d8cd63e0306b39f0a9e599339d586659 /firmware/usb.c
parent751303c2acf22f7fa431690efcddcc8cb0d3a84e (diff)
downloadrockbox-1b5e31ed43d2c09ada6a1313b2a1de0b262e74c6.tar.gz
rockbox-1b5e31ed43d2c09ada6a1313b2a1de0b262e74c6.tar.bz2
rockbox-1b5e31ed43d2c09ada6a1313b2a1de0b262e74c6.zip
iPod Classic CE-ATA Support (Part 2 of 4: Remove on-stack sector buffers, and replace them with a single statically allocated sector buffer that's arbitrated amongst users)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29445 a1c6a512-1295-4272-9138-f99709370657
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 ebbf0807eb..a794e2ac8a 100644
--- a/firmware/usb.c
+++ b/firmware/usb.c
@@ -77,7 +77,7 @@ static int usb_mmc_countdown = 0;
/* Make sure there's enough stack space for screendump */
#ifdef USB_FULL_INIT
-static long usb_stack[(DEFAULT_STACK_SIZE + SECTOR_SIZE + DUMP_BMP_LINESIZE)/sizeof(long)];
+static long usb_stack[(DEFAULT_STACK_SIZE + DUMP_BMP_LINESIZE)/sizeof(long)];
static const char usb_thread_name[] = "usb";
static unsigned int usb_thread_entry = 0;
static bool usb_monitor_enabled = false;