Whitespace corrections.
authorDean Camera <dean@fourwalledcubicle.com>
Thu, 9 Sep 2010 13:33:00 +0000 (13:33 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Thu, 9 Sep 2010 13:33:00 +0000 (13:33 +0000)
LUFA/Drivers/USB/Class/Common/Audio.h
LUFA/Drivers/USB/Class/Common/HID.h
LUFA/Drivers/USB/Class/Common/MIDI.h
LUFA/Drivers/USB/Class/Host/CDC.h

index ec7f148..8ee5fa2 100644 (file)
                {
                        uint8_t  bLength; /**< Size of the descriptor, in bytes. */
                        uint8_t  bDescriptorType; /**< Type of the descriptor, either a value in \ref USB_DescriptorTypes_t or a value
-                                                     *   given by the specific class.
-                                                     */
+                                                  *   given by the specific class.
+                                                  */
 
                        uint8_t  bDescriptorSubtype; /**< Sub type value used to distinguish between audio class-specific descriptors. */
 
                {
                        uint8_t bLength; /**< Size of the descriptor, in bytes. */
                        uint8_t bDescriptorType; /**< Type of the descriptor, either a value in \ref USB_DescriptorTypes_t or a value
-                                                     *   given by the specific class.
-                                                     */
+                                                 *   given by the specific class.
+                                                 */
 
                        uint8_t bDescriptorSubtype; /**< Sub type value used to distinguish between audio class-specific descriptors. */
                        
                        uint8_t                 TerminalID; /**< ID value of this terminal unit - must be a unique value within the device. */
                        uint16_t                TerminalType; /**< Type of terminal, a TERMINAL_* mask. */
                        uint8_t                 AssociatedOutputTerminal; /**< ID of associated output terminal, for physically grouped terminals
-                                                                            *   such as the speaker and microphone of a phone handset.
-                                                                            */
+                                                                          *   such as the speaker and microphone of a phone handset.
+                                                                          */
                        uint8_t                 TotalChannels; /**< Total number of separate audio channels within this interface (right, left, etc.) */
                        uint16_t                ChannelConfig; /**< CHANNEL_* masks indicating what channel layout is supported by this terminal. */
                        
                {
                        uint8_t  bLength; /**< Size of the descriptor, in bytes. */
                        uint8_t  bDescriptorType; /**< Type of the descriptor, either a value in \ref USB_DescriptorTypes_t or a value
-                                                     *   given by the specific class.
-                                                     */
+                                                  *   given by the specific class.
+                                                  */
 
                        uint8_t  bDescriptorSubtype; /**< Sub type value used to distinguish between audio class-specific descriptors. */
                        uint8_t  bTerminalID; /**< ID value of this terminal unit - must be a unique value within the device. */
                {
                        uint8_t  bLength; /**< Size of the descriptor, in bytes. */
                        uint8_t  bDescriptorType; /**< Type of the descriptor, either a value in \ref USB_DescriptorTypes_t or a value
-                                                     *   given by the specific class.
-                                                     */
+                                                  *   given by the specific class.
+                                                  */
 
                        uint8_t  bDescriptorSubtype; /**< Sub type value used to distinguish between audio class-specific descriptors. */               
                        uint8_t  bTerminalID; /**< ID value of this terminal unit - must be a unique value within the device. */
                {
                        uint8_t  bLength; /**< Size of the descriptor, in bytes. */
                        uint8_t  bDescriptorType; /**< Type of the descriptor, either a value in \ref USB_DescriptorTypes_t or a value
-                                                     *   given by the specific class.
-                                                     */
+                                                  *   given by the specific class.
+                                                  */
 
                        uint8_t  bDescriptorSubtype; /**< Sub type value used to distinguish between audio class-specific descriptors. */               
                        
                {
                        uint8_t  bLength; /**< Size of the descriptor, in bytes. */
                        uint8_t  bDescriptorType; /**< Type of the descriptor, either a value in \ref USB_DescriptorTypes_t or a value
-                                                     *   given by the specific class.
-                                                     */
+                                                  *   given by the specific class.
+                                                  */
 
                        uint8_t  bDescriptorSubtype; /**< Sub type value used to distinguish between audio class-specific descriptors. */               
 
                {
                        uint8_t  bLength; /**< Size of the descriptor, in bytes. */
                        uint8_t  bDescriptorType; /**< Type of the descriptor, either a value in \ref USB_DescriptorTypes_t or a
-                                                                          *   value given by the specific class.
-                                                                          */
+                                                  *   value given by the specific class.
+                                                  */
                        uint8_t  bEndpointAddress; /**< Logical address of the endpoint within the device for the current 
-                                                                               *   configuration, including direction mask.
-                                                                               */
+                                                   *   configuration, including direction mask.
+                                                   */
                        uint8_t  bmAttributes; /**< Endpoint attributes, comprised of a mask of the endpoint type (EP_TYPE_*) 
-                                                                       *   and attributes (ENDPOINT_ATTR_*) masks.
-                                                                       */
+                                               *   and attributes (ENDPOINT_ATTR_*) masks.
+                                               */
                        uint16_t wMaxPacketSize; /**< Size of the endpoint bank, in bytes. This indicates the maximum packet size
-                                                                         *   that the endpoint can receive at a time.
-                                                                         */
+                                                 *   that the endpoint can receive at a time.
+                                                 */
                        uint8_t  bInterval; /**< Polling interval in milliseconds for the endpoint if it is an INTERRUPT or
-                                                                *   ISOCHRONOUS type.
-                                                                */
-                                                                
+                                            *   ISOCHRONOUS type.
+                                            */
+                       
                        uint8_t  bRefresh; /**< Always set to zero for Audio class devices. */
                        uint8_t  bSynchAddress; /**< Endpoint address to send synchronization information to, if needed (zero otherwise). */
                } USB_Audio_StdDescriptor_StreamEndpoint_Std_t;
-                                       
+
                /** \brief Audio class-specific Extended Endpoint Descriptor (LUFA naming conventions).
                 *
                 *  Type define for an Audio class-specific extended endpoint descriptor. This contains extra information
                {
                        uint8_t  bLength; /**< Size of the descriptor, in bytes. */
                        uint8_t  bDescriptorType; /**< Type of the descriptor, either a value in \ref USB_DescriptorTypes_t or a value
-                                                     *   given by the specific class.
-                                                     */
+                                                  *   given by the specific class.
+                                                  */
 
                        uint8_t  bDescriptorSubtype; /**< Sub type value used to distinguish between audio class-specific descriptors. */               
                        
index 4c7abc1..59e262a 100644 (file)
                typedef struct
                {
                        USB_Descriptor_Header_t Header; /**< Regular descriptor header containing the descriptor's type and length. */
-                               
+                       
                        uint16_t                HIDSpec; /**< BCD encoded version that the HID descriptor and device complies to. */
                        uint8_t                 CountryCode; /**< Country code of the localized device, or zero if universal. */
                
                {
                        uint8_t  bLength; /**< Size of the descriptor, in bytes. */
                        uint8_t  bDescriptorType; /**< Type of the descriptor, either a value in \ref USB_DescriptorTypes_t or a value
-                                                     *   given by the specific class.
-                                                     */
-                               
+                                                  *   given by the specific class.
+                                                  */
+                       
                        uint16_t bcdHID; /**< BCD encoded version that the HID descriptor and device complies to. */
                        uint8_t  bCountryCode; /**< Country code of the localized device, or zero if universal. */
                
index 0c6223b..da7b2bd 100644 (file)
                {
                        uint8_t  bLength; /**< Size of the descriptor, in bytes. */
                        uint8_t  bDescriptorType; /**< Type of the descriptor, either a value in \ref USB_DescriptorTypes_t or a value
-                                                     *   given by the specific class.
-                                                     */
+                                                  *   given by the specific class.
+                                                  */
 
                        uint8_t  bDescriptorSubtype; /**< Sub type value used to distinguish between audio class-specific descriptors. */
                        
                {
                        uint8_t  bLength; /**< Size of the descriptor, in bytes. */
                        uint8_t  bDescriptorType; /**< Type of the descriptor, either a value in \ref USB_DescriptorTypes_t or a value
-                                                     *   given by the specific class.
-                                                     */
+                                                  *   given by the specific class.
+                                                  */
 
                        uint8_t  bDescriptorSubtype; /**< Sub type value used to distinguish between audio class-specific descriptors. */
 
                {
                        uint8_t  bLength; /**< Size of the descriptor, in bytes. */
                        uint8_t  bDescriptorType; /**< Type of the descriptor, either a value in \ref USB_DescriptorTypes_t or a value
-                                                     *   given by the specific class.
-                                                     */
+                                                  *   given by the specific class.
+                                                  */
 
                        uint8_t  bDescriptorSubtype; /**< Sub type value used to distinguish between audio class-specific descriptors. */
 
                {
                        uint8_t  bLength; /**< Size of the descriptor, in bytes. */
                        uint8_t  bDescriptorType; /**< Type of the descriptor, either a value in \ref USB_DescriptorTypes_t or a value
-                                                     *   given by the specific class.
-                                                     */
+                                                  *   given by the specific class.
+                                                  */
 
                        uint8_t  bDescriptorSubtype; /**< Sub type value used to distinguish between audio class-specific descriptors. */
 
index 3e9d055..d71c167 100644 (file)
                                static uint8_t DCOMP_CDC_Host_NextCDCControlInterface(void* const CurrentDescriptor) ATTR_NON_NULL_PTR_ARG(1);
                                static uint8_t DCOMP_CDC_Host_NextCDCDataInterface(void* const CurrentDescriptor) ATTR_NON_NULL_PTR_ARG(1);
                                static uint8_t DCOMP_CDC_Host_NextCDCInterfaceEndpoint(void* const CurrentDescriptor) ATTR_NON_NULL_PTR_ARG(1);
-                       #endif  
+                       #endif
        #endif
                                
        /* Disable C linkage for C++ Compilers: */