From cbf19c33af003a467d6fd8e6ca946b16099b8c70 Mon Sep 17 00:00:00 2001 From: "kevin.meudic" Date: Thu, 11 Jul 2024 16:48:16 +0200 Subject: [PATCH] Removed useless code (cherry picked from commit ba52e4b223694799da0db87c1ad514b35e328845) --- lib_stusb_impl/usbd_impl.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib_stusb_impl/usbd_impl.c b/lib_stusb_impl/usbd_impl.c index 50310abd..d8b72150 100644 --- a/lib_stusb_impl/usbd_impl.c +++ b/lib_stusb_impl/usbd_impl.c @@ -758,11 +758,7 @@ 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), -#endif // HAVE_VID_PID_PROBER || HAVE_LEGACY_PID HIBYTE(USBD_PID), /* idProduct */ // Change this ID to make windows WINUSB/WEBUSB reenumerate when the