add tuh_inited() and tud_inited()

This commit is contained in:
hathach
2021-05-02 01:46:22 +07:00
parent 68fa17e17c
commit 2666e1efec
4 changed files with 36 additions and 3 deletions

View File

@@ -43,6 +43,9 @@ extern "C" {
// Init device stack
bool tud_init (void);
// Check if device stack is already initialized
bool tud_inited(void);
// Task function should be called in main/rtos loop
void tud_task (void);