aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2014-01-04 10:45:02 +1100
committerDean Camera <dean@fourwalledcubicle.com>2014-01-04 10:45:02 +1100
commite368a899871fe9ecccdcac85019d15c73e13ced7 (patch)
tree0e71f62c4572dc2a9dca70ad2c2caccbaa398fb4 /LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c
parent510d29d4728597f43ec6b218ef25b20e17c8b09e (diff)
downloadlufa-e368a899871fe9ecccdcac85019d15c73e13ced7.tar.gz
lufa-e368a899871fe9ecccdcac85019d15c73e13ced7.tar.bz2
lufa-e368a899871fe9ecccdcac85019d15c73e13ced7.zip
Update copyrights for 2014.
Diffstat (limited to 'LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c')
-rw-r--r--LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c b/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c
index ce54174b6..5782824cc 100644
--- a/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c
+++ b/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c
@@ -1,21 +1,21 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2013.
-
+ Copyright (C) Dean Camera, 2014.
+
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2013 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com)
- Permission to use, copy, modify, distribute, and sell this
+ Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
- without fee, provided that the above copyright notice appear in
+ without fee, provided that the above copyright notice appear in
all copies and that both that the copyright notice and this
- permission notice and warranty disclaimer appear in supporting
- documentation, and that the name of the author not be used in
- advertising or publicity pertaining to distribution of the
+ permission notice and warranty disclaimer appear in supporting
+ documentation, and that the name of the author not be used in
+ advertising or publicity pertaining to distribution of the
software without specific, written prior permission.
The author disclaims all warranties with regard to this
@@ -44,10 +44,10 @@ uint8_t Endpoint_Discard_Stream(uint16_t Length,
{
uint8_t ErrorCode;
uint16_t BytesInTransfer = 0;
-
+
if ((ErrorCode = Endpoint_WaitUntilReady()))
return ErrorCode;
-
+
if (BytesProcessed != NULL)
Length -= *BytesProcessed;
@@ -74,7 +74,7 @@ uint8_t Endpoint_Discard_Stream(uint16_t Length,
BytesInTransfer++;
}
}
-
+
return ENDPOINT_RWSTREAM_NoError;
}
@@ -83,10 +83,10 @@ uint8_t Endpoint_Null_Stream(uint16_t Length,
{
uint8_t ErrorCode;
uint16_t BytesInTransfer = 0;
-
+
if ((ErrorCode = Endpoint_WaitUntilReady()))
return ErrorCode;
-
+
if (BytesProcessed != NULL)
Length -= *BytesProcessed;
@@ -113,7 +113,7 @@ uint8_t Endpoint_Null_Stream(uint16_t Length,
BytesInTransfer++;
}
}
-
+
return ENDPOINT_RWSTREAM_NoError;
}