aboutsummaryrefslogtreecommitdiff
path: root/LUFA/Drivers/Board/UC3/EVK1100/Joystick.h
diff options
context:
space:
mode:
authordean <dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-12-23 01:51:39 +0000
committerdean <dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-12-23 01:51:39 +0000
commit9b0c63fa0a32478a8f5bdd90a9ab4a23a19cb1f0 (patch)
tree9f38b5271f3a5ff10083f4f3e27598ced92efe11 /LUFA/Drivers/Board/UC3/EVK1100/Joystick.h
parentd5f67c6637f24c2c640d3c067ba74906ad791420 (diff)
Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing whitespace at the end of each line.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2007 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'LUFA/Drivers/Board/UC3/EVK1100/Joystick.h')
-rw-r--r--LUFA/Drivers/Board/UC3/EVK1100/Joystick.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/LUFA/Drivers/Board/UC3/EVK1100/Joystick.h b/LUFA/Drivers/Board/UC3/EVK1100/Joystick.h
index e35d1b33..aaf729b0 100644
--- a/LUFA/Drivers/Board/UC3/EVK1100/Joystick.h
+++ b/LUFA/Drivers/Board/UC3/EVK1100/Joystick.h
@@ -1,7 +1,7 @@
/*
LUFA Library
Copyright (C) Dean Camera, 2011.
-
+
dean [at] fourwalledcubicle [dot] com
www.fourwalledcubicle.com
*/
@@ -44,7 +44,7 @@
*
* @{
*/
-
+
#ifndef __JOYSTICK_EVK1100_H__
#define __JOYSTICK_EVK1100_H__
@@ -67,7 +67,7 @@
#define JOY_PORT 0
#define JOY_MASK ((1UL << 28) | (1UL << 27) | (1UL << 26) | (1UL << 25) | (1UL << 20))
#endif
-
+
/* Public Interface - May be used in end-application: */
/* Macros: */
/** Mask for the joystick being pushed in the left direction. */
@@ -84,7 +84,7 @@
/** Mask for the joystick being pushed inward. */
#define JOY_PRESS (1UL << 20)
-
+
/* Inline Functions: */
#if !defined(__DOXYGEN__)
static inline void Joystick_Init(void)
@@ -92,7 +92,7 @@
AVR32_GPIO.port[JOY_PORT].gpers = JOY_MASK;
AVR32_GPIO.port[JOY_PORT].gpers = JOY_MASK;
};
-
+
static inline uint32_t Joystick_GetStatus(void) ATTR_WARN_UNUSED_RESULT;
static inline uint32_t Joystick_GetStatus(void)
{
@@ -108,3 +108,4 @@
#endif
/** @} */
+