STM32CubeMX USB CDC Library Problem.
MCU : STM32F446RET
CubeMX Version : 4.26.1
===
Hi! I'm currently developing usb CDC(Communication Device Class / USB-OTG-FS) through STM32CubeMX.
When I upload the automatically generated code without changing any settings, the usb device will not be recognized properly as follows.(Error code 10)

However, following this YouTube video https://youtu.be/oDoavXrQdEg, change the CDC_DATA_HS_MAX_PACKET_SIZE value of usbd_cdc.h file from 512 to 256, and you can see that it is normally recognized.

Is this a problem with the STM32CubeMX library?
Thanks! =)