diff options
Diffstat (limited to 'firmware/export/config/shanlingq1.h')
-rw-r--r-- | firmware/export/config/shanlingq1.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/export/config/shanlingq1.h b/firmware/export/config/shanlingq1.h index c7ad1dfa6e..1f1ee79ca7 100644 --- a/firmware/export/config/shanlingq1.h +++ b/firmware/export/config/shanlingq1.h | |||
@@ -96,7 +96,6 @@ | |||
96 | /* USB support */ | 96 | /* USB support */ |
97 | #ifndef SIMULATOR | 97 | #ifndef SIMULATOR |
98 | #define CONFIG_USBOTG USBOTG_DESIGNWARE | 98 | #define CONFIG_USBOTG USBOTG_DESIGNWARE |
99 | #define USB_DW_ARCH_SLAVE | ||
100 | #define USB_DW_TURNAROUND 5 | 99 | #define USB_DW_TURNAROUND 5 |
101 | #define HAVE_USBSTACK | 100 | #define HAVE_USBSTACK |
102 | #define USB_VENDOR_ID 0x0525 /* Same as the xDuuo X3, for some reason. */ | 101 | #define USB_VENDOR_ID 0x0525 /* Same as the xDuuo X3, for some reason. */ |
@@ -107,6 +106,10 @@ | |||
107 | #define HAVE_USB_CHARGING_IN_THREAD | 106 | #define HAVE_USB_CHARGING_IN_THREAD |
108 | #define TARGET_USB_CHARGING_DEFAULT USB_CHARGING_FORCE | 107 | #define TARGET_USB_CHARGING_DEFAULT USB_CHARGING_FORCE |
109 | #define HAVE_BOOTLOADER_USB_MODE | 108 | #define HAVE_BOOTLOADER_USB_MODE |
109 | /* This appears to improve transfer performance (the default is 64 KiB). | ||
110 | * Going any higher doesn't help but we're still slower than the OF. */ | ||
111 | #define USB_READ_BUFFER_SIZE (128 * 1024) | ||
112 | #define USB_WRITE_BUFFER_SIZE (128 * 1024) | ||
110 | #endif | 113 | #endif |
111 | 114 | ||
112 | /* Rockbox capabilities */ | 115 | /* Rockbox capabilities */ |