Change over board hardware drivers to use the custom uintN_t and intN_t native word size types.
This commit is contained in:
@@ -98,8 +98,7 @@
|
||||
PORTD |= JOY_MASK;
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
return (uint8_t)(~PIND & JOY_MASK);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user