aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/Joystick
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-09 00:50:55 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-09 00:50:55 +0000
commit7ace314cc12f24c1c3108311bdfb3a2ed484ab37 (patch)
tree5ff719df1d93ea5cfc6393999e42468e0b727d1d /Demos/Device/LowLevel/Joystick
parent2281750b5fdf046ed606e567eb60cf4e647015dd (diff)
downloadlufa-7ace314cc12f24c1c3108311bdfb3a2ed484ab37.tar.gz
lufa-7ace314cc12f24c1c3108311bdfb3a2ed484ab37.tar.bz2
lufa-7ace314cc12f24c1c3108311bdfb3a2ed484ab37.zip
Increase timeout of Mass Storage and Still Image host commands to 10 seconds (up from 5) to account for slow-processing devices.
Added brace guards to macros with parameters to prevent unintended changed evaluation of the macro expression. Minor code cleanups (remove redundant comments, fix spacing, etc.).
Diffstat (limited to 'Demos/Device/LowLevel/Joystick')
-rw-r--r--Demos/Device/LowLevel/Joystick/Joystick.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/LowLevel/Joystick/Joystick.h b/Demos/Device/LowLevel/Joystick/Joystick.h
index db280ee5c..bf339fe16 100644
--- a/Demos/Device/LowLevel/Joystick/Joystick.h
+++ b/Demos/Device/LowLevel/Joystick/Joystick.h
@@ -52,7 +52,7 @@
/* Macros: */
/** HID Class specific request to get the next HID report from the device. */
- #define REQ_GetReport 0x01
+ #define REQ_GetReport 0x01
/** LED mask for the library LED driver, to indicate that the USB interface is not ready. */
#define LEDMASK_USB_NOTREADY LEDS_LED1