From 5563da6a626a7301e5064a8df8b3a9b03421f8aa Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 29 Jan 2012 14:33:36 +0000 Subject: Added new LEDs_Disable(), Buttons_Disable() and Joystick_Disable() functions to the board hardware drivers. --- LUFA/Drivers/Board/Joystick.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'LUFA/Drivers/Board/Joystick.h') diff --git a/LUFA/Drivers/Board/Joystick.h b/LUFA/Drivers/Board/Joystick.h index 95e90fadf..452689cdb 100644 --- a/LUFA/Drivers/Board/Joystick.h +++ b/LUFA/Drivers/Board/Joystick.h @@ -126,6 +126,9 @@ */ static inline void Joystick_Init(void); + /** Disables the joystick driver, releasing the I/O pins back to their default high-impedence input mode. */ + static inline void Joystick_Disable(void); + /** Returns the current status of the joystick, as a mask indicating the direction the joystick is * currently facing in (multiple bits can be set). * -- cgit v1.2.3