1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

usbus/cdc/ecm: increase EP data size in HS mode

CDC ECM driver/netdev is only working in High-Speed mode if the EP data size is at least 512 byte.
This commit is contained in:
Gunar Schorcht 2023-03-07 11:29:39 +01:00
parent 4845ed0409
commit 4f49fc817c

View File

@ -75,7 +75,11 @@ extern "C" {
*
* Used for the transfer of network frames.
*/
#ifndef MODULE_PERIPH_USBDEV_HS
#define USBUS_CDCECM_EP_DATA_SIZE 64
#else
#define USBUS_CDCECM_EP_DATA_SIZE 512
#endif
/**
* @brief notification state, used to track which information must be send to