Change over board hardware drivers to use the custom uintN_t and intN_t native word size types.
This commit is contained in:
parent
d2ed97e34b
commit
2590452104
26 changed files with 83 additions and 98 deletions
|
@ -100,8 +100,8 @@
|
|||
PORTE |= JOY_EMASK;
|
||||
}
|
||||
|
||||
static inline uint8_t Joystick_GetStatus(void) ATTR_WARN_UNUSED_RESULT;
|
||||
static inline uint8_t Joystick_GetStatus(void)
|
||||
static inline uintN_t Joystick_GetStatus(void) ATTR_WARN_UNUSED_RESULT;
|
||||
static inline uintN_t Joystick_GetStatus(void)
|
||||
{
|
||||
return (((uint8_t)~PINB & JOY_BMASK) | (((uint8_t)~PINE & JOY_EMASK) >> 1));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue