Change over board hardware drivers to use the custom uintN_t and intN_t native word size types.

This commit is contained in:
Dean Camera 2010-02-22 12:58:40 +00:00
parent d2ed97e34b
commit 2590452104
26 changed files with 83 additions and 98 deletions

View file

@ -81,8 +81,7 @@
PORTD |= BUTTONS_BUTTON1;
}
static inline uint8_t Buttons_GetStatus(void) ATTR_WARN_UNUSED_RESULT;
static inline uint8_t Buttons_GetStatus(void)
static inline uintN_t Buttons_GetStatus(void)
{
return ((PIND & BUTTONS_BUTTON1) ^ BUTTONS_BUTTON1);
}