diff options
| author | Ha Thach <[email protected]> | 2020-05-20 15:31:09 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-05-20 15:31:09 +0700 |
| commit | dc5445e2f45cb348a44fe24fc1be4bc8b5ba5bab (patch) | |
| tree | fa3ca421e1e0fc0fbbb8aeeceaf5b81c1f83cc1c /src/device/usbd.h | |
| parent | 76bf96bcb0c12ba241ee4ecc175afb257e550d19 (diff) | |
| parent | 8b66098335cb93504c7680fadad502b59ff73b48 (diff) | |
Merge pull request #414 from hathach/add-queue-is-empty
added tud_task_event_ready()
Diffstat (limited to 'src/device/usbd.h')
| -rw-r--r-- | src/device/usbd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h index 713bee2b2..ecef63e18 100644 --- a/src/device/usbd.h +++ b/src/device/usbd.h @@ -47,6 +47,9 @@ bool tud_init (void); // Task function should be called in main/rtos loop void tud_task (void); +// Check if there is pending events need proccessing by tud_task() +bool tud_task_event_ready(void); + // Interrupt handler, name alias to DCD #define tud_int_handler dcd_int_handler |
