summaryrefslogtreecommitdiff
path: root/src/tusb.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-01-29 20:13:17 +0700
committerGitHub <[email protected]>2019-01-29 20:13:17 +0700
commit29b49199beb8e9b5fead83e5cd36105f8746f1d7 (patch)
tree5fec0508a84fd7b75b21b16b13ef6181d97eaaa5 /src/tusb.h
parentbd5325612620209e7964f10817a57f916d3bc13f (diff)
parent1a84f5da5496e7ea410e9023253b30933c207159 (diff)
Merge pull request #34 from hathach/develop
add tusb_inited(), better compatible with nrf SD
Diffstat (limited to 'src/tusb.h')
-rw-r--r--src/tusb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tusb.h b/src/tusb.h
index fb20c5ff7..69c4d16d2 100644
--- a/src/tusb.h
+++ b/src/tusb.h
@@ -108,6 +108,9 @@
// Initialize device/host stack
bool tusb_init(void);
+// Check if stack is initialized
+bool tusb_inited(void);
+
// TODO
// bool tusb_teardown(void);