From c93259fbdbfec154b37fd4c3a4e1b43f5b7265e5 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 13 Sep 2012 20:26:32 +0000 Subject: [PATCH] Remove incorrect PROGMEM qualifier on the Manufacturer string descriptors in the DFU and CDC class bootloaders (thanks to Oliver Zander). --- Bootloaders/CDC/Descriptors.c | 2 +- Bootloaders/DFU/Descriptors.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Bootloaders/CDC/Descriptors.c b/Bootloaders/CDC/Descriptors.c index b99df6fdc3..6bddcf4a18 100644 --- a/Bootloaders/CDC/Descriptors.c +++ b/Bootloaders/CDC/Descriptors.c @@ -189,7 +189,7 @@ const USB_Descriptor_String_t LanguageString = * form, and is read out upon request by the host when the appropriate string ID is requested, listed in the Device * Descriptor. */ -const USB_Descriptor_String_t PROGMEM ManufacturerString = +const USB_Descriptor_String_t ManufacturerString = { .Header = {.Size = USB_STRING_LEN(11), .Type = DTYPE_String}, diff --git a/Bootloaders/DFU/Descriptors.c b/Bootloaders/DFU/Descriptors.c index 1d358a39f1..95534bdacc 100644 --- a/Bootloaders/DFU/Descriptors.c +++ b/Bootloaders/DFU/Descriptors.c @@ -130,7 +130,7 @@ const USB_Descriptor_String_t LanguageString = * form, and is read out upon request by the host when the appropriate string ID is requested, listed in the Device * Descriptor. */ -const USB_Descriptor_String_t PROGMEM ManufacturerString = +const USB_Descriptor_String_t ManufacturerString = { .Header = {.Size = USB_STRING_LEN(11), .Type = DTYPE_String},