Update UC3 platform driver support to use the bitmasks defined in the header files...
[pub/USBasp.git] / Projects / MIDIToneGenerator / Descriptors.c
index 505ea4a..ba50261 100644 (file)
@@ -1,13 +1,13 @@
 /*\r
              LUFA Library\r
-     Copyright (C) Dean Camera, 2010.\r
+     Copyright (C) Dean Camera, 2011.\r
 \r
   dean [at] fourwalledcubicle [dot] com\r
            www.lufa-lib.org\r
 */\r
 \r
 /*\r
-  Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
+  Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
 \r
   Permission to use, copy, modify, distribute, and sell this\r
   software and its documentation for any purpose is hereby granted\r
@@ -42,7 +42,7 @@
  *  number of device configurations. The descriptor is read out by the USB host when the enumeration\r
  *  process begins.\r
  */\r
-USB_Descriptor_Device_t PROGMEM DeviceDescriptor =\r
+const USB_Descriptor_Device_t PROGMEM DeviceDescriptor =\r
 {\r
        .Header                 = {.Size = sizeof(USB_Descriptor_Device_t), .Type = DTYPE_Device},\r
 \r
@@ -69,7 +69,7 @@ USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
  *  and endpoints. The descriptor is read out by the USB host during the enumeration process when selecting\r
  *  a configuration so that the host may correctly communicate with the USB device.\r
  */\r
-USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =\r
+const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =\r
 {\r
        .Config =\r
                {\r
@@ -248,7 +248,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
  *  the string descriptor with index 0 (the first index). It is actually an array of 16-bit integers, which indicate\r
  *  via the language ID table available at USB.org what languages the device supports for its string descriptors.\r
  */\r
-USB_Descriptor_String_t PROGMEM LanguageString =\r
+const USB_Descriptor_String_t PROGMEM LanguageString =\r
 {\r
        .Header                 = {.Size = USB_STRING_LEN(1), .Type = DTYPE_String},\r
 \r
@@ -259,7 +259,7 @@ USB_Descriptor_String_t PROGMEM LanguageString =
  *  form, and is read out upon request by the host when the appropriate string ID is requested, listed in the Device\r
  *  Descriptor.\r
  */\r
-USB_Descriptor_String_t PROGMEM ManufacturerString =\r
+const USB_Descriptor_String_t PROGMEM ManufacturerString =\r
 {\r
        .Header                 = {.Size = USB_STRING_LEN(11), .Type = DTYPE_String},\r
 \r
@@ -270,7 +270,7 @@ USB_Descriptor_String_t PROGMEM ManufacturerString =
  *  and is read out upon request by the host when the appropriate string ID is requested, listed in the Device\r
  *  Descriptor.\r
  */\r
-USB_Descriptor_String_t PROGMEM ProductString =\r
+const USB_Descriptor_String_t PROGMEM ProductString =\r
 {\r
        .Header                 = {.Size = USB_STRING_LEN(14), .Type = DTYPE_String},\r
 \r