diff options
author | Damien George <damien@micropython.org> | 2023-11-09 16:56:06 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-11-09 17:56:58 +1100 |
commit | d46dc5e1738d843b83f1668798669ff177119d03 (patch) | |
tree | e613515badc6370fdea4fc95301153ab1fbc23d5 /shared/tinyusb/mp_usbd.h | |
parent | 365913953a4e050eab45c00e637e92f612400b11 (diff) |
shared/tinyusb: Expose mp_usbd_task as a public function.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'shared/tinyusb/mp_usbd.h')
-rw-r--r-- | shared/tinyusb/mp_usbd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/tinyusb/mp_usbd.h b/shared/tinyusb/mp_usbd.h index 2e4feaca9..340637c95 100644 --- a/shared/tinyusb/mp_usbd.h +++ b/shared/tinyusb/mp_usbd.h @@ -29,6 +29,9 @@ #include "py/obj.h" +// Call this to explicitly run the TinyUSB device task. +void mp_usbd_task(void); + // Function to be implemented in port code. // Can write a string up to MICROPY_HW_USB_DESC_STR_MAX characters long, plus terminating byte. extern void mp_usbd_port_get_serial_number(char *buf); |