diff --git a/class/msc/usbd_msc.c b/class/msc/usbd_msc.c index 708f8d09..2ca1a837 100644 --- a/class/msc/usbd_msc.c +++ b/class/msc/usbd_msc.c @@ -10,10 +10,6 @@ #include "usb_osal.h" #endif -#ifndef CONFIG_USBDEV_MSC_BLOCK_SIZE -#define CONFIG_USBDEV_MSC_BLOCK_SIZE 512 -#endif - #define MSC_THREAD_OP_READ_MEM 1 #define MSC_THREAD_OP_WRITE_MEM 2 #define MSC_THREAD_OP_WRITE_DONE 3 diff --git a/common/usb_mem.h b/common/usb_mem.h index 3377ba62..17b8c950 100644 --- a/common/usb_mem.h +++ b/common/usb_mem.h @@ -25,13 +25,6 @@ void *usb_hc_malloc_align(size_t align, size_t size); #endif -#ifndef CONFIG_USB_ALIGN_SIZE -#define CONFIG_USB_ALIGN_SIZE 4 -#endif - -#ifndef USB_NOCACHE_RAM_SECTION -#define USB_NOCACHE_RAM_SECTION -#endif #define USB_MEM_ALIGNX __attribute__((aligned(CONFIG_USB_ALIGN_SIZE))) #if (CONFIG_USB_ALIGN_SIZE > 4)