From 7750783809a896fe7e38eebb0030b16685820d26 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sat, 18 Aug 2012 10:58:52 +0000 Subject: Minor documentation improvements. --- LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h | 6 +++--- LUFA/Drivers/USB/Core/Pipe.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'LUFA/Drivers') diff --git a/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h b/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h index 57d9b0d43..906b7e873 100644 --- a/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h +++ b/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.h @@ -124,13 +124,13 @@ #endif #if !defined(CONTROL_ONLY_DEVICE) || defined(__DOXYGEN__) - #if defined(USB_SERIES_4_AVR) || defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR) - #define ENDPOINT_TOTAL_ENDPOINTS 7 - #else + #if defined(USB_SERIES_4_AVR) || defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR) || defined(__DOXYGEN__) /** Total number of endpoints (including the default control endpoint at address 0) which may * be used in the device. Different USB AVR models support different amounts of endpoints, * this value reflects the maximum number of endpoints for the currently selected AVR model. */ + #define ENDPOINT_TOTAL_ENDPOINTS 7 + #else #define ENDPOINT_TOTAL_ENDPOINTS 5 #endif #else diff --git a/LUFA/Drivers/USB/Core/Pipe.h b/LUFA/Drivers/USB/Core/Pipe.h index faa803b6d..14f59b8b5 100644 --- a/LUFA/Drivers/USB/Core/Pipe.h +++ b/LUFA/Drivers/USB/Core/Pipe.h @@ -105,7 +105,7 @@ { uint8_t Address; /**< Address of the pipe to configure, or zero if the table entry is to be unused. */ uint16_t Size; /**< Size of the pipe bank, in bytes. */ - uint8_t EndpointAddress; /** Address of the endpoint in the connected device. */ + uint8_t EndpointAddress; /**< Address of the endpoint in the connected device. */ uint8_t Type; /**< Type of the endpoint, a \c EP_TYPE_* mask. */ uint8_t Banks; /**< Number of hardware banks to use for the pipe. */ } USB_Pipe_Table_t; -- cgit v1.2.3