embassy/embassy-usb-synopsys-otg/src
Dario Nieuwenhuis 7d65c5c4fa usb-synopsys-otg: ensure ep alloc fails when endpoint_count < MAX_EP_COUNT.
Before, it would alloc the endpoint fine and then panic later due to out of range.
This ensures it falis at ep alloc time, and with a panic message that says
what's the actual problem: "no free endpoints available".
2024-08-03 00:15:45 +02:00
..
fmt.rs Reduced define for 'unreachable!' to a single macro rule 2024-07-17 17:05:52 -04:00
lib.rs usb-synopsys-otg: ensure ep alloc fails when endpoint_count < MAX_EP_COUNT. 2024-08-03 00:15:45 +02:00
otg_v1.rs Extract synopsys otg driver 2024-04-26 17:58:23 +02:00