Remove IRQ-level malloc from USB setup
Fixes a hang found while debugging #614. Do all memory allocations and USB descriptor setup in main code prior to `tusb_init()`. Avoids potential deadlock in cases where the app is allocating while the USB port is being set up.
Showing
Please register or sign in to comment