mirror of
https://github.com/apache/nuttx.git
synced 2026-05-14 19:38:39 +08:00
069ceab9c5
Add packed attribute to lzf header structs to prevent the compiler from optimizing lzf_magic array initialization into wider store instructions (e.g. st.h), which can cause misaligned access exceptions on architectures that do not support unaligned memory access. Signed-off-by: zhangyuan29 <zhangyuan29@xiaomi.com>