mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2024-12-21 23:08:53 -05:00
Device descriptor in RAM
This commit is contained in:
parent
553598ab64
commit
158fc4fdca
3
main.c
3
main.c
@ -126,7 +126,7 @@ static const struct cfg0 cfg0 PROGMEM = {
|
||||
|
||||
};
|
||||
|
||||
const struct usb_device_descriptor device_descriptor PROGMEM = {
|
||||
const struct usb_device_descriptor device_descriptor = {
|
||||
.bLength = sizeof(struct usb_device_descriptor),
|
||||
.bDescriptorType = DEVICE_DESCRIPTOR,
|
||||
.bcdUSB = 0x0101,
|
||||
@ -147,7 +147,6 @@ const struct usb_device_descriptor device_descriptor PROGMEM = {
|
||||
|
||||
static struct usb_parameters usb_params = {
|
||||
.flags = USB_PARAM_FLAG_CONFDESC_PROGMEM |
|
||||
USB_PARAM_FLAG_DEVDESC_PROGMEM |
|
||||
USB_PARAM_FLAG_REPORTDESC_PROGMEM,
|
||||
.devdesc = (PGM_VOID_P)&device_descriptor,
|
||||
.configdesc = (PGM_VOID_P)&cfg0,
|
||||
|
Loading…
Reference in New Issue
Block a user