summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-04-04 18:16:36 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-04-04 18:16:36 +0000
commit2ca376cce8ccfb5757e67f97d1c6305e93a78e22 (patch)
tree9c77811872dd296ea72e053b7e396c4aae5ea700
parentc5a3c8c670d2c505eaa608cc9cdedd932df3720a (diff)
downloadrockbox-2ca376cce8ccfb5757e67f97d1c6305e93a78e22.tar.gz
rockbox-2ca376cce8ccfb5757e67f97d1c6305e93a78e22.tar.bz2
rockbox-2ca376cce8ccfb5757e67f97d1c6305e93a78e22.zip
Use the audio buffer in USB storage for ISP1583-having targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20617 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/usbstack/usb_storage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/usbstack/usb_storage.c b/firmware/usbstack/usb_storage.c
index 195a7c3661..c80a90d614 100644
--- a/firmware/usbstack/usb_storage.c
+++ b/firmware/usbstack/usb_storage.c
@@ -22,7 +22,7 @@
#include "system.h"
#include "usb_core.h"
#include "usb_drv.h"
-//#define LOGF_ENABLE
+#define LOGF_ENABLE
#include "logf.h"
#include "storage.h"
#include "hotswap.h"
@@ -397,8 +397,8 @@ void usb_storage_init_connection(void)
/* prime rx endpoint. We only need room for commands */
state = WAITING_FOR_COMMAND;
-#if CONFIG_CPU == IMX31L || CONFIG_USBOTG == USBOTG_ISP1583 || \
- defined(CPU_TCC77X) || defined(CPU_TCC780X) || defined(BOOTLOADER)
+#if CONFIG_CPU == IMX31L || defined(CPU_TCC77X) || defined(CPU_TCC780X) || \
+ defined(BOOTLOADER)
static unsigned char _transfer_buffer[BUFFER_SIZE*2]
USB_DEVBSS_ATTR __attribute__((aligned(32)));
tb.transfer_buffer = (void *)_transfer_buffer;