diff options
author | Angus Gratton <angus@redyak.com.au> | 2024-06-25 16:19:15 +1000 |
---|---|---|
committer | Angus Gratton <angus@redyak.com.au> | 2024-06-25 16:25:06 +1000 |
commit | 5dcffb53ab953e8264be33e7cb56280b7e20c345 (patch) | |
tree | 686605c2e31a11ccc549445e32c79595f940fa1d /shared/tinyusb/mp_usbd_runtime.c | |
parent | cfa55b4ca1e24dc60dadc839c49fcee475cd40ef (diff) |
rp2/clocks_extra: Implement custom clocks_init function.
Adapts pico-sdk clocks_init() into clocks_init_optional_usb() which takes
an argument to initialise USB clocks or not.
To avoid a code size increase the SDK clocks_init() function is linker
wrapped to become clocks_init_optional_usb(true).
This work was funded through GitHub Sponsors.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'shared/tinyusb/mp_usbd_runtime.c')
0 files changed, 0 insertions, 0 deletions