Skip to content

Commit

Permalink
Merge pull request #724 from LedgerHQ/FWEO-1215-Removed-App-ProductID…
Browse files Browse the repository at this point in the history
…-Switching

Fweo 1215 removed app product id switching
  • Loading branch information
kmeudic-ledger authored Jul 18, 2024
2 parents 1c29cb4 + ba52e4b commit 077671c
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions lib_stusb_impl/usbd_impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -758,29 +758,9 @@ static uint8_t const USBD_DeviceDesc[]= {
USB_MAX_EP0_SIZE, /* bMaxPacketSize */
LOBYTE(USBD_VID), /* idVendor */
HIBYTE(USBD_VID), /* idVendor */
#if defined(HAVE_VID_PID_PROBER) || defined(HAVE_LEGACY_PID)
LOBYTE(USBD_PID), /* idProduct */
#else // HAVE_VID_PID_PROBER || defined(HAVE_LEGACY_PID)
LOBYTE(USBD_PID
#ifndef HAVE_USB_HIDKBD
| 0x01
#else
| 0x02
#endif
#ifdef HAVE_IO_U2F
| 0x04
#endif // HAVE_IO_U2F
#ifdef HAVE_USB_CLASS_CCID
| 0x08
#endif // HAVE_USB_CLASS_CCID
#ifdef HAVE_WEBUSB
| 0x10
#endif // HAVE_WEBUSB
),
#endif // HAVE_VID_PID_PROBER || HAVE_LEGACY_PID
HIBYTE(USBD_PID), /* idProduct */


// Change this ID to make windows WINUSB/WEBUSB reenumerate when the
// descriptor changes and the PID/VID are not changed.
0x01, /* bcdDevice rel. 2.01 */
Expand Down

0 comments on commit 077671c

Please sign in to comment.