rename CFG_TUSB_HOST_CUSTOM_CLASS to CFG_TUH_VENDOR

This commit is contained in:
hathach
2019-07-19 16:31:51 +07:00
parent b0678e1050
commit 6a076d8aae
4 changed files with 7 additions and 21 deletions

View File

@@ -26,7 +26,7 @@
#include "tusb_option.h"
#if (TUSB_OPT_HOST_ENABLED && CFG_TUSB_HOST_CUSTOM_CLASS)
#if (TUSB_OPT_HOST_ENABLED && CFG_TUH_VENDOR)
//--------------------------------------------------------------------+
// INCLUDE

View File

@@ -84,7 +84,7 @@ static host_class_driver_t const usbh_class_drivers[] =
},
#endif
#if CFG_TUSB_HOST_CUSTOM_CLASS
#if CFG_TUH_VENDOR
{
.class_code = TUSB_CLASS_VENDOR_SPECIFIC,
.init = cush_init,

View File

@@ -54,7 +54,7 @@
#include "class/cdc/cdc_host.h"
#endif
#if CFG_TUSB_HOST_CUSTOM_CLASS
#if CFG_TUH_VENDOR
#include "class/custom_host.h"
#endif