From eabd2fba3462468edc6b9d1ddf4fe7060d50c5c1 Mon Sep 17 00:00:00 2001 From: Dean Date: Sat, 5 Mar 2011 12:13:35 +0000 Subject: Add software FIFOs to the UC3B pipe control interfaces, to match the endpoint control interfaces. Fix incorrect endianness for the Endpoint/Pipe read and write routines. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1697 d5102386-fcda-11dd-9fdb-3debd5008f28 --- LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'LUFA/Drivers/USB/Core/AVR8') diff --git a/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h b/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h index 30979aff..6933a893 100644 --- a/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h +++ b/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h @@ -349,8 +349,8 @@ * * \param[in] EndpointNumber Endpoint number whose FIFO buffers are to be reset. */ - static inline void Endpoint_ResetFIFO(const uint8_t EndpointNumber) ATTR_ALWAYS_INLINE; - static inline void Endpoint_ResetFIFO(const uint8_t EndpointNumber) + static inline void Endpoint_ResetEndpoint(const uint8_t EndpointNumber) ATTR_ALWAYS_INLINE; + static inline void Endpoint_ResetEndpoint(const uint8_t EndpointNumber) { UERST = (1 << EndpointNumber); UERST = 0; -- cgit v1.2.3