summaryrefslogtreecommitdiff
path: root/src/osal
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-02-23 21:49:11 +0700
committerhathach <[email protected]>2022-02-25 18:35:21 +0700
commit31aa077cb0b345464548b9cb2e2913227348a969 (patch)
treefd138a0d98321e3591cd70a7960ce4468910e2ba /src/osal
parentd10326cb4e0f48a05bc39c6f51b7b0fb29427cc9 (diff)
rename TUSB_OPT_HOST_ENABLED to CFG_TUH_ENABLED
Diffstat (limited to 'src/osal')
-rw-r--r--src/osal/osal_pico.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osal/osal_pico.h b/src/osal/osal_pico.h
index 4843d6450..70432d22b 100644
--- a/src/osal/osal_pico.h
+++ b/src/osal/osal_pico.h
@@ -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