Add skeleton LUFAConfig.h to the CodeTemplates directory.
[pub/USBasp.git] / Bootloaders / DFU / Descriptors.h
index 95698d5..14203c3 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2010.
+     Copyright (C) Dean Camera, 2011.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
                 */
                typedef struct
                {
-                       USB_Descriptor_Header_t               Header; /**< Standard descriptor header structure */
-
-                       uint8_t                               Attributes; /**< DFU device attributes, a mask comprising of the
-                                                                          *  ATTR_* macros listed in this source file
-                                                                          */
-                       uint16_t                              DetachTimeout; /**< Timeout in milliseconds between a USB_DETACH
-                                                                              *  command being issued and the device detaching
-                                                                              *  from the USB bus
-                                                                              */
-                       uint16_t                              TransferSize; /**< Maximum number of bytes the DFU device can accept
-                                                                            *  from the host in a transaction
-                                                                            */
-                       uint16_t                              DFUSpecification; /**< BCD packed DFU specification number this DFU
-                                                                                *  device complies with
-                                                                                */
+                       USB_Descriptor_Header_t Header; /**< Standard descriptor header structure */
+
+                       uint8_t                 Attributes; /**< DFU device attributes, a mask comprising of the
+                                                            *  ATTR_* macros listed in this source file
+                                                            */
+                       uint16_t                DetachTimeout; /**< Timeout in milliseconds between a USB_DETACH
+                                                               *  command being issued and the device detaching
+                                                               *  from the USB bus
+                                                               */
+                       uint16_t                TransferSize; /**< Maximum number of bytes the DFU device can accept
+                                                              *  from the host in a transaction
+                                                              */
+                       uint16_t                DFUSpecification; /**< BCD packed DFU specification number this DFU
+                                                                  *  device complies with
+                                                                  */
                } USB_Descriptor_DFU_Functional_t;
 
                /** Type define for the device configuration descriptor structure. This must be defined in the