projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert changes made for the partial port to the AVR32 architecture.
[pub/USBasp.git]
/
LUFA
/
Drivers
/
Board
/
STK525
/
Joystick.h
diff --git
a/LUFA/Drivers/Board/STK525/Joystick.h
b/LUFA/Drivers/Board/STK525/Joystick.h
index
aab650d
..
6358f95
100644
(file)
--- a/
LUFA/Drivers/Board/STK525/Joystick.h
+++ b/
LUFA/Drivers/Board/STK525/Joystick.h
@@
-100,7
+100,8
@@
PORTE |= JOY_EMASK;
\r
}
\r
\r
PORTE |= JOY_EMASK;
\r
}
\r
\r
- static inline uintN_t Joystick_GetStatus(void)
\r
+ static inline uint8_t Joystick_GetStatus(void) ATTR_WARN_UNUSED_RESULT;
\r
+ static inline uint8_t Joystick_GetStatus(void)
\r
{
\r
return (((uint8_t)~PINB & JOY_BMASK) | (((uint8_t)~PINE & JOY_EMASK) >> 1));
\r
}
\r
{
\r
return (((uint8_t)~PINB & JOY_BMASK) | (((uint8_t)~PINE & JOY_EMASK) >> 1));
\r
}
\r