Fix UC3 support in the BUILD build system module. Fix bug in the EVK1101 board buttons driver.

This commit is contained in:
Dean Camera 2012-06-02 16:35:29 +00:00
parent 5ce60f25e6
commit 4913678695
2 changed files with 8 additions and 6 deletions

View file

@ -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