summaryrefslogtreecommitdiff
path: root/src/osal
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-02-22 22:14:50 +0700
committerhathach <[email protected]>2023-02-22 22:14:50 +0700
commit1466afafeb927621f9cbb6efd2a0d7e4b6cf8d41 (patch)
tree7fb9b6a1e67b0da37da027c04314f81ae29336d6 /src/osal
parent4c846af53e993d635e6fff7e2611a554b55fc441 (diff)
move and add optional tusb_app_virt_to_phys/tusb_app_phys_to_virt
also add place holder for tusb_app_dcache_flush() and tusb_app_dcache_invalidate()
Diffstat (limited to 'src/osal')
-rw-r--r--src/osal/osal_none.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osal/osal_none.h b/src/osal/osal_none.h
index 1ad130557..2e2b3c7ce 100644
--- a/src/osal/osal_none.h
+++ b/src/osal/osal_none.h
@@ -35,6 +35,10 @@
// TASK API
//--------------------------------------------------------------------+
+#if CFG_TUH_ENABLED
+// currently only needed/available in host mode
+void osal_task_delay(uint32_t msec);
+#endif
//--------------------------------------------------------------------+
// Binary Semaphore API