Changed the signature of the CALLBACK_USB_GetDescriptor() callback function so that...
[pub/lufa.git] / LUFA / Drivers / USB / LowLevel / Device.h
index 2c9dc28..fdf4ee9 100644 (file)
                                 *  USB interface should be initialized in low speed (1.5Mb/s) mode.
                                 *
                                 *  \note Low Speed mode is not available on all USB AVR models.
-                                *        \n\n
+                                *        \n
                                 *
                                 *  \note Restrictions apply on the number, size and type of endpoints which can be used
-                                *        when running in low speed mode -- refer to the USB 2.0 standard.
+                                *        when running in low speed mode - refer to the USB 2.0 specification.
                                 */
                                #define USB_DEVICE_OPT_LOWSPEED            (1 << 0)
                        #endif
                         *  \ref EVENT_USB_Device_StartOfFrame() event to fire once per millisecond, synchronized to the USB bus,
                         *  at the start of each USB frame when enumerated in device mode.
                         */
-                       static inline void USB_Device_EnableSOFEvents(void) ATTR_ALWAYS_INLINE;
+                       static inline void USB_Device_EnableSOFEvents(void) ATTR_ALWAYS_INLINE;
                        static inline void USB_Device_EnableSOFEvents(void)
                        {
                                USB_INT_Enable(USB_INT_SOFI);
                        }
                                
-                       /** Disables the device mode Start Of Frame events. When disabled, this stop the firing of the
+                       /** Disables the device mode Start Of Frame events. When disabled, this stops the firing of the
                         *  \ref EVENT_USB_Device_StartOfFrame() event when enumerated in device mode.
                         */
                        static inline void USB_Device_DisableSOFEvents(void) ATTR_ALWAYS_INLINE;
                         */
                        uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
                                                            const uint8_t wIndex,
-                                                           void** const DescriptorAddress
+                                                           const void** const DescriptorAddress
                        #if !defined(USE_FLASH_DESCRIPTORS) && !defined(USE_EEPROM_DESCRIPTORS) && !defined(USE_RAM_DESCRIPTORS)
                                                            , uint8_t* MemoryAddressSpace
                        #endif