summaryrefslogtreecommitdiff
path: root/firmware/usbstack/usb_storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/usbstack/usb_storage.c')
-rw-r--r--firmware/usbstack/usb_storage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/usbstack/usb_storage.c b/firmware/usbstack/usb_storage.c
index 8d1b94bf7a..1b271b9c98 100644
--- a/firmware/usbstack/usb_storage.c
+++ b/firmware/usbstack/usb_storage.c
@@ -67,7 +67,7 @@
67#ifdef USB_READ_BUFFER_SIZE 67#ifdef USB_READ_BUFFER_SIZE
68#define READ_BUFFER_SIZE USB_READ_BUFFER_SIZE 68#define READ_BUFFER_SIZE USB_READ_BUFFER_SIZE
69#else 69#else
70#if CONFIG_CPU == AS3525 70#if CONFIG_USBOTG == USBOTG_AS3525
71/* We'd need to implement multidescriptor dma for sizes >65535 */ 71/* We'd need to implement multidescriptor dma for sizes >65535 */
72#define READ_BUFFER_SIZE (1024*63) 72#define READ_BUFFER_SIZE (1024*63)
73#else 73#else
@@ -81,7 +81,7 @@
81#define WRITE_BUFFER_SIZE USB_WRITE_BUFFER_SIZE 81#define WRITE_BUFFER_SIZE USB_WRITE_BUFFER_SIZE
82#else 82#else
83#if (CONFIG_STORAGE & STORAGE_SD) 83#if (CONFIG_STORAGE & STORAGE_SD)
84#if CONFIG_CPU == AS3525 84#if CONFIG_USBOTG == USBOTG_AS3525
85/* We'd need to implement multidescriptor dma for sizes >65535 */ 85/* We'd need to implement multidescriptor dma for sizes >65535 */
86#define WRITE_BUFFER_SIZE (1024*63) 86#define WRITE_BUFFER_SIZE (1024*63)
87#else 87#else