aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-09-12 12:20:36 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-09-12 12:20:36 +0000
commit6b59c9b834dad59d49aea961eb9d4c3f88f0a5ef (patch)
tree8d78c3f2e0ef0d2926f9c63b2b9d82b61a746ee8 /LUFA
parent12fb68ea1fd3b87c748de5d22c816a086b41cff9 (diff)
downloadlufa-6b59c9b834dad59d49aea961eb9d4c3f88f0a5ef.tar.gz
lufa-6b59c9b834dad59d49aea961eb9d4c3f88f0a5ef.tar.bz2
lufa-6b59c9b834dad59d49aea961eb9d4c3f88f0a5ef.zip
Minor documentation phrasing changes.
Diffstat (limited to 'LUFA')
-rw-r--r--LUFA/Drivers/USB/HighLevel/USBTask.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/LUFA/Drivers/USB/HighLevel/USBTask.h b/LUFA/Drivers/USB/HighLevel/USBTask.h
index faff2a3bb..4eb1b8b40 100644
--- a/LUFA/Drivers/USB/HighLevel/USBTask.h
+++ b/LUFA/Drivers/USB/HighLevel/USBTask.h
@@ -97,7 +97,7 @@
*
* This value may be altered by the user application to implement the \ref HOST_STATE_Addressed,
* \ref HOST_STATE_Configured and \ref HOST_STATE_Suspended states which are not implemented by
- * the library.
+ * the library internally.
*
* To reduce program size and speed up checks of this global, it can be placed into one of the AVR's
* GPIOR hardware registers instead of RAM by defining the HOST_STATE_AS_GPIOR token to a value
@@ -153,7 +153,7 @@
#endif
/* Function Prototypes: */
- /** This is the main USB management task. The USB driver requires that this task be executed
+ /** This is the main USB management task. The USB driver requires this task to be executed
* continuously when the USB system is active (device attached in host mode, or attached to a host
* in device mode) in order to manage USB communications. This task may be executed inside an RTOS,
* fast timer ISR or the main user application loop.
@@ -191,9 +191,9 @@
#endif
/* Macros: */
- #define HOST_TASK_NONBLOCK_WAIT(duration, nextstate) MACROS{ USB_HostState = HOST_STATE_WaitForDevice; \
- WaitMSRemaining = (duration); \
- PostWaitState = (nextstate); }MACROE
+ #define HOST_TASK_NONBLOCK_WAIT(Duration, NextState) MACROS{ USB_HostState = HOST_STATE_WaitForDevice; \
+ WaitMSRemaining = (Duration); \
+ PostWaitState = (NextState); }MACROE
#endif
/* Disable C linkage for C++ Compilers: */