diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-08-03 00:14:11 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2024-08-03 00:15:45 +0200 |
| commit | 7d65c5c4fa9f4a931019625168d7eacf0ec2fa40 (patch) | |
| tree | 7a2c9b6187c779efd1c3f04400becae59fc23850 /embassy-time-queue-driver | |
| parent | a2ea2630f648a9a46dc4f9276d9f5eaf256ae893 (diff) | |
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".
Diffstat (limited to 'embassy-time-queue-driver')
0 files changed, 0 insertions, 0 deletions
