mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
USB device was being accessed prior to being initialized. This resulted in a hard-fault or NMI when using any endpoint beyond 0 or 1 which are init'ed by the BL. This broke VCP which is on endpoint 2 (control) and 3 (data). This bug was introduced in 5ad37e69 which stopped checking the transfer_possible variable.