add note for tud_task() behavior in freertos example

This commit is contained in:
hathach
2022-04-20 18:35:38 +07:00
parent b034c18077
commit 6a022c73db
4 changed files with 8 additions and 5 deletions

View File

@@ -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()

View File

@@ -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