Minor documentation improvements.
authorDean Camera <dean@fourwalledcubicle.com>
Wed, 22 May 2013 20:33:35 +0000 (22:33 +0200)
committerDean Camera <dean@fourwalledcubicle.com>
Wed, 22 May 2013 20:33:35 +0000 (22:33 +0200)
Demos/Device/ClassDriver/GenericHID/GenericHID.c
LUFA/Drivers/USB/Class/Common/CDCClassCommon.h

index aae3ea7..182aa5a 100644 (file)
@@ -156,7 +156,7 @@ bool CALLBACK_HID_Device_CreateHIDReport(USB_ClassInfo_HID_Device_t* const HIDIn
                                          void* ReportData,
                                          uint16_t* const ReportSize)
 {
-       uint8_t* Data = (uint8_t*)ReportData;
+       uint8_t* Data        = (uint8_t*)ReportData;
        uint8_t  CurrLEDMask = LEDs_GetLEDs();
 
        Data[0] = ((CurrLEDMask & LEDS_LED1) ? 1 : 0);
@@ -182,7 +182,7 @@ void CALLBACK_HID_Device_ProcessHIDReport(USB_ClassInfo_HID_Device_t* const HIDI
                                           const void* ReportData,
                                           const uint16_t ReportSize)
 {
-       uint8_t* Data = (uint8_t*)ReportData;
+       uint8_t* Data       = (uint8_t*)ReportData;
        uint8_t  NewLEDMask = LEDS_NO_LEDS;
 
        if (Data[0])
index c778224..9d419ac 100644 (file)
 
                /** Macro to define a CDC class-specific functional descriptor. CDC functional descriptors have a
                 *  uniform structure but variable sized data payloads, thus cannot be represented accurately by
-                *  a single typedef struct. A macro is used instead so that functional descriptors can be created
+                *  a single \c typedef \c struct. A macro is used instead so that functional descriptors can be created
                 *  easily by specifying the size of the payload. This allows \c sizeof() to work correctly.
                 *
                 *  \param[in] DataSize  Size in bytes of the CDC functional descriptor's data payload.
                /** Enum for the CDC class specific notification requests that can be issued by a CDC device to a host. */
                enum CDC_ClassNotifications_t
                {
-                       CDC_NOTIF_SerialState               = 0x20, /**< Notification type constant for a change in the virtual serial port
-                                                                    *   handshake line states, for use with a \ref USB_Request_Header_t
-                                                                    *   notification structure when sent to the host via the CDC notification
-                                                                    *   endpoint.
-                                                                    */
+                       CDC_NOTIF_SerialState = 0x20, /**< Notification type constant for a change in the virtual serial port
+                                                      *   handshake line states, for use with a \ref USB_Request_Header_t
+                                                      *   notification structure when sent to the host via the CDC notification
+                                                      *   endpoint.
+                                                      */
                };
 
                /** Enum for the CDC class specific interface descriptor subtypes. */