rename TUSB_OPT_HOST_ENABLED to CFG_TUH_ENABLED

This commit is contained in:
hathach
2022-02-23 21:49:11 +07:00
parent d10326cb4e
commit 31aa077cb0
31 changed files with 42 additions and 43 deletions

View File

@@ -100,7 +100,7 @@ static inline bool osal_mutex_unlock(osal_mutex_t mutex_hdl)
//--------------------------------------------------------------------+
#include "common/tusb_fifo.h"
#if TUSB_OPT_HOST_ENABLED
#if CFG_TUH_ENABLED
extern void hcd_int_disable(uint8_t rhport);
extern void hcd_int_enable(uint8_t rhport);
#endif