mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-26 15:40:35 +08:00
a4fb18a6c4
The int32 param COM_ARM_AUTH is mapped to a packed struct. However, this struct was not actually packed (anymore) and therefore the values were applied incorrectly. I fixed this by applying the packed attribute. By using a union with a int32_t I could rid of the warning about address-of-packed-member.