mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 09:50:15 +01:00
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>
This directory contains libraries, utilities and helper code developed specifically for this project. The code is intended to be portable and usable by any port.