add note for tud_task() behavior in freertos example
This commit is contained in:
@@ -52,7 +52,7 @@ void tud_task_ext(uint32_t timeout_ms, bool in_isr);
|
||||
TU_ATTR_ALWAYS_INLINE static inline
|
||||
void tud_task (void)
|
||||
{
|
||||
tud_task_ext(OSAL_TIMEOUT_WAIT_FOREVER, false);
|
||||
tud_task_ext(UINT32_MAX, false);
|
||||
}
|
||||
|
||||
// Check if there is pending events need proccessing by tud_task()
|
||||
|
@@ -100,7 +100,7 @@ void tuh_task_ext(uint32_t timeout_ms, bool in_isr);
|
||||
TU_ATTR_ALWAYS_INLINE static inline
|
||||
void tuh_task(void)
|
||||
{
|
||||
tuh_task_ext(OSAL_TIMEOUT_WAIT_FOREVER, false);
|
||||
tuh_task_ext(UINT32_MAX, false);
|
||||
}
|
||||
|
||||
// Interrupt handler, name alias to HCD
|
||||
|
Reference in New Issue
Block a user