aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core/UC3/PipeStream_UC3.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-08-23 10:39:04 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-08-23 10:39:04 +0000
commitcff190b8f47416698f3783e1e7711f0864713f73 (patch)
tree8407b1a1e71021bca28abd4784804251733f4ed5 /LUFA/Drivers/USB/Core/UC3/PipeStream_UC3.c
parent2d9f98b592c41a0b79eb6d15122fc00f4f91c836 (diff)
downloadlufa-cff190b8f47416698f3783e1e7711f0864713f73.tar.gz
lufa-cff190b8f47416698f3783e1e7711f0864713f73.tar.bz2
lufa-cff190b8f47416698f3783e1e7711f0864713f73.zip
Minor documentation fixes.
Add extra parenthesis around terms in the common MIN() and MAX() macros to prevent issues with non-trivial macro inputs (thanks to David Lyons).
Diffstat (limited to 'LUFA/Drivers/USB/Core/UC3/PipeStream_UC3.c')
-rw-r--r--LUFA/Drivers/USB/Core/UC3/PipeStream_UC3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Core/UC3/PipeStream_UC3.c b/LUFA/Drivers/USB/Core/UC3/PipeStream_UC3.c
index 3aa815c98..3b8267ac6 100644
--- a/LUFA/Drivers/USB/Core/UC3/PipeStream_UC3.c
+++ b/LUFA/Drivers/USB/Core/UC3/PipeStream_UC3.c
@@ -119,7 +119,7 @@ uint8_t Pipe_Null_Stream(uint16_t Length,
return PIPE_RWSTREAM_NoError;
}
-/* The following abuses the C preprocessor in order to copy-past common code with slight alterations,
+/* The following abuses the C preprocessor in order to copy-paste common code with slight alterations,
* so that the code needs to be written once. It is a crude form of templating to reduce code maintenance. */
#define TEMPLATE_FUNC_NAME Pipe_Write_Stream_LE