Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Case Error #8

Open
GertLauritsen opened this issue Jun 22, 2022 · 2 comments
Open

Case Error #8

GertLauritsen opened this issue Jun 22, 2022 · 2 comments
Assignees
Labels
bug Something isn't working internal bug tracker Issue confirmed and reported into a ticket in the internal bug tracking system mw Middleware-related issue or pull-request. usb USB-related (host or device) issue or pull-request
Milestone

Comments

@GertLauritsen
Copy link

In line 49 in usbd_desc_template.c the funktion is declared, but when it's going to be used in 68, the funktion is with the wrong case

#if (USBD_CLASS_USER_STRING_DESC == 1)
uint8_t *USBD_Class_UserStrDescriptor(USBD_SpeedTypeDef speed, uint8_t idx, uint16_t length);
#endif /
USB_CLASS_USER_STRING_DESC */

#if ((USBD_LPM_ENABLED == 1) || (USBD_CLASS_BOS_ENABLED == 1))
uint8_t *USBD_USR_BOSDescriptor(USBD_SpeedTypeDef speed, uint16_t length);
#endif /
(USBD_LPM_ENABLED == 1) || (USBD_CLASS_BOS_ENABLED == 1) */

/* Private variables ---------------------------------------------------------/
USBD_DescriptorsTypeDef Class_Desc =
{
USBD_Class_DeviceDescriptor,
USBD_Class_LangIDStrDescriptor,
USBD_Class_ManufacturerStrDescriptor,
USBD_Class_ProductStrDescriptor,
USBD_Class_SerialStrDescriptor,
USBD_Class_ConfigStrDescriptor,
USBD_Class_InterfaceStrDescriptor,
#if (USBD_CLASS_USER_STRING_DESC == 1)
USBD_CLASS_UserStrDescriptor,
#endif /
USB_CLASS_USER_STRING_DESC */

@ALABSTM ALABSTM added mw Middleware-related issue or pull-request. usb USB-related (host or device) issue or pull-request labels May 15, 2023
@ALABSTM
Copy link
Collaborator

ALABSTM commented Feb 13, 2024

Hi @GertLauritsen,

First of all, please excuse this delayed reply. Thank you for having reported this not-so-easy to spot issue. Already forwarded to our development teams.

With regards,

@ALABSTM
Copy link
Collaborator

ALABSTM commented Feb 13, 2024

ST Internal Reference: 173348

@ALABSTM ALABSTM added bug Something isn't working internal bug tracker Issue confirmed and reported into a ticket in the internal bug tracking system labels Feb 13, 2024
@ALABSTM ALABSTM added this to the v2.11.4 milestone Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working internal bug tracker Issue confirmed and reported into a ticket in the internal bug tracking system mw Middleware-related issue or pull-request. usb USB-related (host or device) issue or pull-request
Projects
Status: To release
Development

No branches or pull requests

4 participants