summaryrefslogtreecommitdiff
path: root/src/device/usbd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-10-30 23:26:34 +0700
committerhathach <[email protected]>2019-10-30 23:26:34 +0700
commita0002cc709bd39049d3effbe9a59b62dc198f79d (patch)
tree0885f227669d16e1e29a0fe4901ca54bbb8f2a06 /src/device/usbd.h
parent58089934024c3869f90159641e2b569d663ce826 (diff)
rename usbd_init() to tud_init()
Diffstat (limited to 'src/device/usbd.h')
-rw-r--r--src/device/usbd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h
index f0887f0db..e340215fe 100644
--- a/src/device/usbd.h
+++ b/src/device/usbd.h
@@ -41,6 +41,9 @@
// Application API
//--------------------------------------------------------------------+
+// Init device stack
+bool tud_init (void);
+
// Task function should be called in main/rtos loop
void tud_task (void);