aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-03-16 11:29:00 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-03-16 11:29:00 +0000
commite611b250c170c9e830f8212ca5d49e505e3f4af1 (patch)
treeb57c0580f4889bad21d203ae6bcd5dd83ab60504 /LUFA/Drivers/USB/LowLevel
parent0214e096a0274fd506b09812f47dc1183084851d (diff)
downloadlufa-e611b250c170c9e830f8212ca5d49e505e3f4af1.tar.gz
lufa-e611b250c170c9e830f8212ca5d49e505e3f4af1.tar.bz2
lufa-e611b250c170c9e830f8212ca5d49e505e3f4af1.zip
Added extra output to makefiles to indicate the currently selected BOARD parameter.
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel')
-rw-r--r--LUFA/Drivers/USB/LowLevel/Endpoint.h4
-rw-r--r--LUFA/Drivers/USB/LowLevel/Pipe.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Endpoint.h b/LUFA/Drivers/USB/LowLevel/Endpoint.h
index 16266868c..1b8bade7c 100644
--- a/LUFA/Drivers/USB/LowLevel/Endpoint.h
+++ b/LUFA/Drivers/USB/LowLevel/Endpoint.h
@@ -798,8 +798,8 @@
/* Private Interface - For use in library only: */
#if !defined(__DOXYGEN__)
/* Macros: */
- #define Endpoint_AllocateMemory() MACROS{ UECFG1X |= (1 << ALLOC); }MACROE
- #define Endpoint_DeallocateMemory() MACROS{ UECFG1X &= ~(1 << ALLOC); }MACROE
+ #define Endpoint_AllocateMemory() MACROS{ UECFG1X |= (1 << ALLOC); }MACROE
+ #define Endpoint_DeallocateMemory() MACROS{ UECFG1X &= ~(1 << ALLOC); }MACROE
#define _ENDPOINT_GET_MAXSIZE(n) _ENDPOINT_GET_MAXSIZE2(ENDPOINT_DETAILS_EP ## n)
#define _ENDPOINT_GET_MAXSIZE2(details) _ENDPOINT_GET_MAXSIZE3(details)
diff --git a/LUFA/Drivers/USB/LowLevel/Pipe.h b/LUFA/Drivers/USB/LowLevel/Pipe.h
index 5d4793eb2..3b7783a5d 100644
--- a/LUFA/Drivers/USB/LowLevel/Pipe.h
+++ b/LUFA/Drivers/USB/LowLevel/Pipe.h
@@ -761,7 +761,7 @@
/* Private Interface - For use in library only: */
#if !defined(__DOXYGEN__)
/* Macros: */
- #define PIPE_TOKEN_MASK (0x03 << PTOKEN0)
+ #define PIPE_TOKEN_MASK (0x03 << PTOKEN0)
#define Pipe_AllocateMemory() MACROS{ UPCFG1X |= (1 << ALLOC); }MACROE
#define Pipe_DeallocateMemory() MACROS{ UPCFG1X &= ~(1 << ALLOC); }MACROE
@@ -781,7 +781,7 @@
return (2 << EPSIZE0);
else if (Bytes <= 64)
return (3 << EPSIZE0);
- else if (Bytes <= (8 << 4))
+ else if (Bytes <= 128)
return (4 << EPSIZE0);
else
return (5 << EPSIZE0);