summaryrefslogtreecommitdiff
path: root/src/tusb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tusb.h')
-rw-r--r--src/tusb.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/tusb.h b/src/tusb.h
index 4d65c80e1..e4393d067 100644
--- a/src/tusb.h
+++ b/src/tusb.h
@@ -105,11 +105,9 @@
// return true if success
bool tusb_init(void);
-#if CFG_TUSB_OS == OPT_OS_NONE
-/** \brief Run all tinyusb's internal tasks (e.g host task, device task).
- * \note This function is only required when using no RTOS (\ref CFG_TUSB_OS == OPT_OS_NONE). All the stack functions
- * & callback are invoked within this function. This should be called periodically within the mainloop
- *
+/** Run all tinyusb's internal tasks (e.g host task, device task) and invoke callback
+ * This should be called periodically within the mainloop.
+
@code
int main(void)
{
@@ -126,10 +124,9 @@ bool tusb_init(void);
}
}
@endcode
- *
+
*/
void tusb_task(void);
-#endif
/** @} */