diff options
| author | hathach <[email protected]> | 2018-03-07 22:59:57 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-07 22:59:57 +0700 |
| commit | d0312805ba245b71a2089d72c4b6c89a49b2933a (patch) | |
| tree | b6f8b95d286b780e5dacf3eee8b58880388a4765 /tinyusb | |
| parent | c7f6c95c2837365e4fe7518fa9bcbfbabb1c9ad5 (diff) | |
rename tusb_task_runner() to tusb_task()
Diffstat (limited to 'tinyusb')
| -rw-r--r-- | tinyusb/tusb.c | 2 | ||||
| -rw-r--r-- | tinyusb/tusb.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tinyusb/tusb.c b/tinyusb/tusb.c index 0e54b4206..cf94c1b23 100644 --- a/tinyusb/tusb.c +++ b/tinyusb/tusb.c @@ -64,7 +64,7 @@ tusb_error_t tusb_init(void) }
#if TUSB_CFG_OS == TUSB_OS_NONE
-void tusb_task_runner(void)
+void tusb_task(void)
{
#if MODE_HOST_SUPPORTED
usbh_enumeration_task(NULL);
diff --git a/tinyusb/tusb.h b/tinyusb/tusb.h index 9ff1f5e2a..7450dbfcb 100644 --- a/tinyusb/tusb.h +++ b/tinyusb/tusb.h @@ -117,13 +117,13 @@ tusb_error_t tusb_init(void); {
your_application_code();
- tusb_task_runner(); // handle tinyusb event, task etc ...
+ tusb_task(); // handle tinyusb event, task etc ...
}
}
@endcode
*
*/
-void tusb_task_runner(void);
+void tusb_task(void);
#endif
/** @} */
|
