From 2590452104c569f64aeefba3b06734035fb77d66 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Mon, 22 Feb 2010 12:58:40 +0000 Subject: Change over board hardware drivers to use the custom uintN_t and intN_t native word size types. --- LUFA/Drivers/Board/BUMBLEB/Joystick.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'LUFA/Drivers/Board/BUMBLEB/Joystick.h') diff --git a/LUFA/Drivers/Board/BUMBLEB/Joystick.h b/LUFA/Drivers/Board/BUMBLEB/Joystick.h index 180967759..fdd4b0319 100644 --- a/LUFA/Drivers/Board/BUMBLEB/Joystick.h +++ b/LUFA/Drivers/Board/BUMBLEB/Joystick.h @@ -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); } -- cgit v1.2.3