diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-13 14:09:25 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-13 14:09:25 +0000 |
commit | 3705330dd32f54cf15842511b7657d2f321c11ad (patch) | |
tree | 5efa5e70e4a7d338befde10772f6a73ba80c69d3 /LUFA/Drivers/Board | |
parent | 307ba254d5ef8bcdd9b9aa1bdb277041e79d6563 (diff) | |
download | lufa-3705330dd32f54cf15842511b7657d2f321c11ad.tar.gz lufa-3705330dd32f54cf15842511b7657d2f321c11ad.tar.bz2 lufa-3705330dd32f54cf15842511b7657d2f321c11ad.zip |
Use -pedantic compile time option to find and correct several minor code errors.
Diffstat (limited to 'LUFA/Drivers/Board')
-rw-r--r-- | LUFA/Drivers/Board/BUMBLEB/Joystick.h | 2 | ||||
-rw-r--r-- | LUFA/Drivers/Board/EVK527/Joystick.h | 2 | ||||
-rw-r--r-- | LUFA/Drivers/Board/STK525/Joystick.h | 2 | ||||
-rw-r--r-- | LUFA/Drivers/Board/STK526/Joystick.h | 2 | ||||
-rw-r--r-- | LUFA/Drivers/Board/USBKEY/Joystick.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/LUFA/Drivers/Board/BUMBLEB/Joystick.h b/LUFA/Drivers/Board/BUMBLEB/Joystick.h index edcf5320f..8723771e5 100644 --- a/LUFA/Drivers/Board/BUMBLEB/Joystick.h +++ b/LUFA/Drivers/Board/BUMBLEB/Joystick.h @@ -90,7 +90,7 @@ {
DDRD &= ~JOY_MASK;
PORTD |= JOY_MASK;
- };
+ }
static inline uint8_t Joystick_GetStatus(void) ATTR_WARN_UNUSED_RESULT;
static inline uint8_t Joystick_GetStatus(void)
diff --git a/LUFA/Drivers/Board/EVK527/Joystick.h b/LUFA/Drivers/Board/EVK527/Joystick.h index ae90c2be6..c73c0ad9b 100644 --- a/LUFA/Drivers/Board/EVK527/Joystick.h +++ b/LUFA/Drivers/Board/EVK527/Joystick.h @@ -93,7 +93,7 @@ PORTF |= JOY_FMASK;
PORTC |= JOY_CMASK;
- };
+ }
static inline uint8_t Joystick_GetStatus(void) ATTR_WARN_UNUSED_RESULT;
static inline uint8_t Joystick_GetStatus(void)
diff --git a/LUFA/Drivers/Board/STK525/Joystick.h b/LUFA/Drivers/Board/STK525/Joystick.h index b74655eca..2de765522 100644 --- a/LUFA/Drivers/Board/STK525/Joystick.h +++ b/LUFA/Drivers/Board/STK525/Joystick.h @@ -93,7 +93,7 @@ PORTB |= JOY_BMASK;
PORTE |= JOY_EMASK;
- };
+ }
static inline uint8_t Joystick_GetStatus(void) ATTR_WARN_UNUSED_RESULT;
static inline uint8_t Joystick_GetStatus(void)
diff --git a/LUFA/Drivers/Board/STK526/Joystick.h b/LUFA/Drivers/Board/STK526/Joystick.h index c15b21284..3b021dea8 100644 --- a/LUFA/Drivers/Board/STK526/Joystick.h +++ b/LUFA/Drivers/Board/STK526/Joystick.h @@ -90,7 +90,7 @@ DDRB &= ~JOY_BMASK;
PORTB |= JOY_BMASK;
- };
+ }
static inline uint8_t Joystick_GetStatus(void) ATTR_WARN_UNUSED_RESULT;
static inline uint8_t Joystick_GetStatus(void)
diff --git a/LUFA/Drivers/Board/USBKEY/Joystick.h b/LUFA/Drivers/Board/USBKEY/Joystick.h index 332dd56a3..7bc140dbb 100644 --- a/LUFA/Drivers/Board/USBKEY/Joystick.h +++ b/LUFA/Drivers/Board/USBKEY/Joystick.h @@ -93,7 +93,7 @@ PORTB |= JOY_BMASK;
PORTE |= JOY_EMASK;
- };
+ }
static inline uint8_t Joystick_GetStatus(void) ATTR_WARN_UNUSED_RESULT;
static inline uint8_t Joystick_GetStatus(void)
|