rename CFG_TUSB_HOST_DEVICE_MAX to CFG_TUH_DEVICE_MAX
This commit is contained in:
		| @@ -266,14 +266,14 @@ | ||||
| // HOST OPTIONS | ||||
| //-------------------------------------------------------------------- | ||||
| #if TUSB_OPT_HOST_ENABLED | ||||
|   #ifndef CFG_TUSB_HOST_DEVICE_MAX | ||||
|     #define CFG_TUSB_HOST_DEVICE_MAX 1 | ||||
|     #warning CFG_TUSB_HOST_DEVICE_MAX is not defined, default value is 1 | ||||
|   #ifndef CFG_TUH_DEVICE_MAX | ||||
|     #define CFG_TUH_DEVICE_MAX 1 | ||||
|     #warning CFG_TUH_DEVICE_MAX is not defined, default value is 1 | ||||
|   #endif | ||||
|  | ||||
|   //------------- HUB CLASS -------------// | ||||
|   #if CFG_TUH_HUB && (CFG_TUSB_HOST_DEVICE_MAX == 1) | ||||
|     #error There is no benefit enable hub with max device is 1. Please disable hub or increase CFG_TUSB_HOST_DEVICE_MAX | ||||
|   #if CFG_TUH_HUB && (CFG_TUH_DEVICE_MAX == 1) | ||||
|     #error There is no benefit enable hub with max device is 1. Please disable hub or increase CFG_TUH_DEVICE_MAX | ||||
|   #endif | ||||
|  | ||||
|   #ifndef CFG_TUH_ENUMERATION_BUFSIZE | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 hathach
					hathach