Oops - fix missing constants in the TempDataLogger FatFS diskio.h header file.
[pub/USBasp.git] / Demos / Device / ClassDriver / KeyboardMouseMultiReport / Descriptors.c
index 19f282f..03a6618 100644 (file)
@@ -45,7 +45,7 @@
  *\r
  *  This descriptor describes the multiple possible reports of the HID interface's report structure.\r
  */\r
-USB_Descriptor_HIDReport_Datatype_t PROGMEM HIDReport[] =\r
+const USB_Descriptor_HIDReport_Datatype_t PROGMEM HIDReport[] =\r
 {\r
        /* Mouse Report */\r
        HID_RI_USAGE_PAGE(8, 0x01), /* Generic Desktop */\r
@@ -119,7 +119,7 @@ USB_Descriptor_HIDReport_Datatype_t PROGMEM HIDReport[] =
  *  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
@@ -146,7 +146,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
@@ -205,7 +205,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
@@ -216,7 +216,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
@@ -227,7 +227,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(26), .Type = DTYPE_String},\r
 \r