aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-01-03 10:49:44 +0000
committerDean Camera <dean@fourwalledcubicle.com>2013-01-03 10:49:44 +0000
commit7d037c7db812be4dac1a742c990f3631fbd82cb5 (patch)
treec1ff95de90e015a809d39231f0f02c300d8e52fe /LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h
parent04d13d264c924d5c3380076f8977ca2dd0b14fd8 (diff)
downloadlufa-7d037c7db812be4dac1a742c990f3631fbd82cb5.tar.gz
lufa-7d037c7db812be4dac1a742c990f3631fbd82cb5.tar.bz2
lufa-7d037c7db812be4dac1a742c990f3631fbd82cb5.zip
Remove support for devices that were not put into production.
Diffstat (limited to 'LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h')
-rw-r--r--LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h b/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h
index 876a2aac6..de53c21ab 100644
--- a/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h
+++ b/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h
@@ -203,10 +203,10 @@
const uint8_t Banks)
{
uint8_t Number = (Address & ENDPOINT_EPNUM_MASK);
-
+
if (Number >= ENDPOINT_TOTAL_ENDPOINTS)
return false;
-
+
return Endpoint_ConfigureEndpoint_Prv(Number,
((Type << EPTYPE0) | ((Address & ENDPOINT_DIR_IN) ? (1 << EPDIR) : 0)),
((1 << ALLOC) | ((Banks > 1) ? (1 << EPBK0) : 0) | Endpoint_BytesToEPSizeMask(Size)));
@@ -221,9 +221,9 @@
static inline uint16_t Endpoint_BytesInEndpoint(void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE;
static inline uint16_t Endpoint_BytesInEndpoint(void)
{
- #if (defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR)) && !defined(__AVR_ATmega32U6__)
+ #if (defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR))
return UEBCX;
- #elif defined(USB_SERIES_4_AVR) || defined(__AVR_ATmega32U6__)
+ #elif defined(USB_SERIES_4_AVR)
return (((uint16_t)UEBCHX << 8) | UEBCLX);
#elif defined(USB_SERIES_2_AVR)
return UEBCLX;