correct bulk size for highspeed endpoint in dynamic_configuration and usbtmc exmaples

This commit is contained in:
hathach
2022-06-17 14:37:35 +07:00
parent 80121303eb
commit 905a0b2457
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@
// USB spec says that full-speed must be 8,16,32, or 64.
// However, this driver implementation requires it to be >=32
#define USBTMCD_MAX_PACKET_SIZE (64u)
#define USBTMCD_MAX_PACKET_SIZE (TUD_OPT_HIGH_SPEED ? 512 : 64)
/***********************************************
* Functions to be implemeted by the class implementation