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> |
||
|---|---|---|
| .. | ||
| mp_usbd_cdc.c | ||
| mp_usbd_cdc.h | ||
| mp_usbd_descriptor.c | ||
| mp_usbd_runtime.c | ||
| mp_usbd.c | ||
| mp_usbd.h | ||
| tusb_config.h | ||