mirror of
https://github.com/apache/nuttx.git
synced 2026-05-14 19:38:39 +08:00
dccd436a58
Previous fix to RNDIS response queueing caused unaligned access to response buffer in some configurations. On ARM Cortex-M, this would cause hardfault if optimizer used strd instruction. Fix by allocating the buffer as uint32_t. RNDIS messages are always a multiple of 4 bytes in size, so this ensures alignment.