USB internal read/write buffer does not need to be 4-bytes aligned.
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4242
38d2e660-2303-0410-9eaa-
f027e97ec537
cpu_flags_t flags; \
stm32_usb_io_status_t ret; \
\
cpu_flags_t flags; \
stm32_usb_io_status_t ret; \
\
- /* NOTE: buffer must be 4-bytes aligned */ \
- ASSERT(!((size_t)__buf & 0x03)); \
- \
/* Fill EP descriptor */ \
IRQ_SAVE_DISABLE(flags); \
if (__size < 0) \
/* Fill EP descriptor */ \
IRQ_SAVE_DISABLE(flags); \
if (__size < 0) \