aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-03-14 00:03:30 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-03-14 00:03:30 +0000
commitea361a0d302e19faf587d31a891d0eecedd765d6 (patch)
tree7fd467ce9aac9436c41a58ebae47aa867b762726 /LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h
parent02dfd7dc3ddf5f485bdd47d45867fa58b569ca2f (diff)
downloadlufa-ea361a0d302e19faf587d31a891d0eecedd765d6.tar.gz
lufa-ea361a0d302e19faf587d31a891d0eecedd765d6.tar.bz2
lufa-ea361a0d302e19faf587d31a891d0eecedd765d6.zip
Correct Endpoint/Pipe maximum constants for the AVR32 UC3 models.
Diffstat (limited to 'LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h')
-rw-r--r--LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h b/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h
index 204169f00..10d443451 100644
--- a/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h
+++ b/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h
@@ -172,10 +172,14 @@
*/
#define PIPE_CONTROLPIPE_DEFAULT_SIZE 64
- /** Total number of pipes (including the default control pipe at address 0) which may be used in
- * the device.
- */
- #define PIPE_TOTAL_PIPES 7
+ #if defined(USB_SERIES_UC3A3_AVR) || defined(USB_SERIES_UC3A4_AVR) || defined(__DOXYGEN__)
+ /** Total number of pipes (including the default control pipe at address 0) which may be used in
+ * the device.
+ */
+ #define PIPE_TOTAL_PIPES 8
+ #else
+ #define PIPE_TOTAL_PIPES 7
+ #endif
/** Size in bytes of the largest pipe bank size possible in the device. Not all banks on each AVR
* model supports the largest bank size possible on the device; different pipe numbers support