5454 * number of device configurations. The descriptor is read out by the USB host when the enumeration
5555 * process begins.
5656 */
57- USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
57+ const USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
5858{
5959 .Header = {.Size = sizeof (USB_Descriptor_Device_t ), .Type = DTYPE_Device },
6060
@@ -82,7 +82,7 @@ USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
8282 * and endpoints. The descriptor is read out by the USB host during the enumeration process when selecting
8383 * a configuration so that the host may correctly communicate with the USB device.
8484 */
85- USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
85+ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
8686{
8787 .Config =
8888 {
@@ -190,7 +190,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
190190 * the string descriptor with index 0 (the first index). It is actually an array of 16-bit integers, which indicate
191191 * via the language ID table available at USB.org what languages the device supports for its string descriptors.
192192 */
193- USB_Descriptor_String_t PROGMEM LanguageString =
193+ const USB_Descriptor_String_t PROGMEM LanguageString =
194194{
195195 .Header = {.Size = USB_STRING_LEN (1 ), .Type = DTYPE_String },
196196
@@ -201,7 +201,7 @@ USB_Descriptor_String_t PROGMEM LanguageString =
201201 * form, and is read out upon request by the host when the appropriate string ID is requested, listed in the Device
202202 * Descriptor.
203203 */
204- USB_Descriptor_String_t PROGMEM ManufacturerString =
204+ const USB_Descriptor_String_t PROGMEM ManufacturerString =
205205{
206206 .Header = {.Size = USB_STRING_LEN (24 ), .Type = DTYPE_String },
207207
@@ -212,7 +212,7 @@ USB_Descriptor_String_t PROGMEM ManufacturerString =
212212 * and is read out upon request by the host when the appropriate string ID is requested, listed in the Device
213213 * Descriptor.
214214 */
215- USB_Descriptor_String_t PROGMEM ProductString =
215+ const USB_Descriptor_String_t PROGMEM ProductString =
216216{
217217 #if (ARDUINO_MODEL_PID == ARDUINO_UNO_PID )
218218 .Header = {.Size = USB_STRING_LEN (11 ), .Type = DTYPE_String },
0 commit comments