diff options
| author | Angus Gratton <angus@redyak.com.au> | 2025-11-19 10:15:08 +1100 |
|---|---|---|
| committer | Angus Gratton <angus@redyak.com.au> | 2025-11-19 10:16:48 +1100 |
| commit | 8d05a8fc8a78dc6592e87ed5e87616bc01dce37c (patch) | |
| tree | e9aa0e6be0fa2c2368524c32371ff72f4fd0f3ee /docs/wipy/tutorial/repl.rst | |
| parent | 4441fd655c514dd92363ad00aa2e832c9f103b2f (diff) | |
shared/tinyusb/mp_usbd: Reorder the mp_usbd_init/deinit functions.
Not a functional change, but makes it easier to see that mp_usbd_init() is
available regardless of whether MICROPY_HW_ENABLE_USB_RUNTIME_DEVICE is
set.
Also adds a no-op inline mp_usbd_deinit() implementation, which means both
a port's calls to mp_usbd_init()/deinit() can both be guarded on the same
MICROPY_HW_ENABLE_USBDEV.
This work was funded through GitHub Sponsors.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'docs/wipy/tutorial/repl.rst')
0 files changed, 0 insertions, 0 deletions
