Skip to content

Commit 38a67d1

Browse files
committed
use ram for configuration descriptor since we have more ram to spare than flash
1 parent 0fc9f2f commit 38a67d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/usb/usb_desc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ enum {
8484
ITF_NUM_TOTAL
8585
};
8686

87-
uint8_t const desc_configuration_cdc_msc[] =
87+
uint8_t desc_configuration_cdc_msc[] =
8888
{
8989
// Interface count, string index, total length, attribute, power in mA
9090
TUD_CONFIG_DESCRIPTOR(1, ITF_NUM_TOTAL, 0, TUD_CONFIG_DESC_LEN + TUD_CDC_DESC_LEN + TUD_MSC_DESC_LEN, 0, 100),
@@ -96,7 +96,7 @@ uint8_t const desc_configuration_cdc_msc[] =
9696
TUD_MSC_DESCRIPTOR(ITF_NUM_MSC, STRID_MSC, 0x03, 0x83, 64),
9797
};
9898

99-
uint8_t const desc_configuration_cdc_only[] =
99+
uint8_t desc_configuration_cdc_only[] =
100100
{
101101
// Interface count, string index, total length, attribute, power in mA
102102
TUD_CONFIG_DESCRIPTOR(1, ITF_NUM_TOTAL-1, 0, TUD_CONFIG_DESC_LEN + TUD_CDC_DESC_LEN, 0, 100),

0 commit comments

Comments
 (0)