Add structure padding to the appropriate descriptor structures to maintain correct alignments on larger architectures.

Fix EVK1101 swapped joystick Right/Down masks.
This commit is contained in:
Dean Camera 2011-03-11 06:47:39 +00:00
parent e4b3e3fc65
commit c8a438d66c
11 changed files with 73 additions and 72 deletions

View file

@ -146,7 +146,7 @@
uint16_t Code; /**< Command, event or response code of the container. */
uint32_t TransactionID; /**< Unique container ID to link blocks together. */
uint32_t Params[3]; /**< Block parameters to be issued along with the block code (command blocks only). */
} PIMA_Container_t;
} ATTR_PACKED PIMA_Container_t;
/* Disable C linkage for C++ Compilers: */
#if defined(__cplusplus)