Change over board hardware drivers to use the custom uintN_t and intN_t native word size types.
This commit is contained in:
@@ -99,8 +99,7 @@
|
||||
AVR32_GPIO.port[1].puers = JOY_MASK_PB;
|
||||
}
|
||||
|
||||
static inline uint32_t Joystick_GetStatus(void) ATTR_WARN_UNUSED_RESULT;
|
||||
static inline uint32_t Joystick_GetStatus(void)
|
||||
static inline uintN_t Joystick_GetStatus(void)
|
||||
{
|
||||
return ((~AVR32_GPIO.port[1].pvr & JOY_MASK_PB) |
|
||||
(~AVR32_GPIO.port[0].pvr & JOY_MASK_PA));
|
||||
|
||||
Reference in New Issue
Block a user