Correct Endpoint/Pipe maximum constants for the AVR32 UC3 models.
[pub/USBasp.git] / LUFA / Drivers / USB / Core / UC3 / Pipe_UC3.h
index 204169f..10d4434 100644 (file)
                         */\r
                        #define PIPE_CONTROLPIPE_DEFAULT_SIZE   64\r
 \r
-                       /** Total number of pipes (including the default control pipe at address 0) which may be used in\r
-                        *  the device.\r
-                        */\r
-                       #define PIPE_TOTAL_PIPES                7\r
+                       #if defined(USB_SERIES_UC3A3_AVR) || defined(USB_SERIES_UC3A4_AVR) || defined(__DOXYGEN__)\r
+                               /** Total number of pipes (including the default control pipe at address 0) which may be used in\r
+                                *  the device.\r
+                                */\r
+                               #define PIPE_TOTAL_PIPES            8\r
+                       #else\r
+                               #define PIPE_TOTAL_PIPES            7                   \r
+                       #endif\r
 \r
                        /** Size in bytes of the largest pipe bank size possible in the device. Not all banks on each AVR\r
                         *  model supports the largest bank size possible on the device; different pipe numbers support\r