Skip to content

Commit

Permalink
common: Change custom request to 0x50
Browse files Browse the repository at this point in the history
`0x30` is `USB_REQ_SET_SEL` which dwc3 will handle for us and it's going to complain and not send it.
`0x50` should be unused.
  • Loading branch information
GaryOderNichts committed Jul 16, 2024
1 parent 32f30eb commit 9025ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static const uint8_t heap_repair_data[] = {
#define DEVICE_PRODUCT_ID 0x1234

// custom request to upload data into the stack
#define USB_REQ_CUSTOM 0x30
#define USB_REQ_CUSTOM 0x50

// location of the pEp0DmaBuf (containing the final rop, arm kernel and event)
#define EP0DMABUF_LOCATION 0x1029d880u
Expand Down

0 comments on commit 9025ad0

Please sign in to comment.