aboutsummaryrefslogtreecommitdiff
path: root/LUFA/Drivers/Board
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-03-11 06:47:39 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-03-11 06:47:39 +0000
commit6fa3988a899e1b9b0695ef6d95ddd5972f5f165b (patch)
tree96fedf9dcc53d7bea53f4f01dd6a7cb3a73b6c21 /LUFA/Drivers/Board
parent089ff21507b0a7f61ebeb6f575a8271701515d1d (diff)
Add structure padding to the appropriate descriptor structures to maintain correct alignments on larger architectures.
Fix EVK1101 swapped joystick Right/Down masks. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1700 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'LUFA/Drivers/Board')
-rw-r--r--LUFA/Drivers/Board/EVK1101/Joystick.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/Board/EVK1101/Joystick.h b/LUFA/Drivers/Board/EVK1101/Joystick.h
index eb410dee..e135a4fd 100644
--- a/LUFA/Drivers/Board/EVK1101/Joystick.h
+++ b/LUFA/Drivers/Board/EVK1101/Joystick.h
@@ -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)