Oops - fix missing constants in the TempDataLogger FatFS diskio.h header file.
[pub/USBasp.git] / Projects / MIDIToneGenerator / Descriptors.c
index 6e50fc8..ba50261 100644 (file)
@@ -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
  *  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
 {\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
  *  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
 {\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
  *  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
 {\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
  *  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
 {\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
  *  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
 {\r
        .Header                 = {.Size = USB_STRING_LEN(14), .Type = DTYPE_String},\r
 \r