aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/Board/UC3/EVK1101
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-06-02 16:35:29 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-06-02 16:35:29 +0000
commit4913678695ce103ae65b844254b8e63f325712cb (patch)
tree1a82edccaa64f4a632b1c5f07be39a40ecb1684a /LUFA/Drivers/Board/UC3/EVK1101
parent5ce60f25e68ef73e01c06409b31b75cfbac9ee3f (diff)
downloadlufa-4913678695ce103ae65b844254b8e63f325712cb.tar.gz
lufa-4913678695ce103ae65b844254b8e63f325712cb.tar.bz2
lufa-4913678695ce103ae65b844254b8e63f325712cb.zip
Fix UC3 support in the BUILD build system module. Fix bug in the EVK1101 board buttons driver.
Diffstat (limited to 'LUFA/Drivers/Board/UC3/EVK1101')
-rw-r--r--LUFA/Drivers/Board/UC3/EVK1101/Buttons.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/Board/UC3/EVK1101/Buttons.h b/LUFA/Drivers/Board/UC3/EVK1101/Buttons.h
index 897147902..f1a9b9926 100644
--- a/LUFA/Drivers/Board/UC3/EVK1101/Buttons.h
+++ b/LUFA/Drivers/Board/UC3/EVK1101/Buttons.h
@@ -98,7 +98,7 @@
static inline uint32_t Buttons_GetStatus(void) ATTR_WARN_UNUSED_RESULT;
static inline uint32_t Buttons_GetStatus(void)
{
- return (~(AVR32_GPIO.port[JOY_MOVE_PORT].pvr & (BUTTONS_BUTTON1 | BUTTONS_BUTTON2)));
+ return (~(AVR32_GPIO.port[BUTTONS_PORT].pvr & (BUTTONS_BUTTON1 | BUTTONS_BUTTON2)));
}
#endif