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

@ -81,10 +81,10 @@
#define JOY_UP (1UL << 7)
/** Mask for the joystick being pushed in the right direction. */
#define JOY_RIGHT (1UL << 8)
#define JOY_RIGHT (1UL << 9)
/** Mask for the joystick being pushed in the downward direction. */
#define JOY_DOWN (1UL << 9)
#define JOY_DOWN (1UL << 8)
/** Mask for the joystick being pushed inward. */
#define JOY_PRESS (1UL << 13)