Skip to content
Commit 38edec68 authored by Arne Bohnsack's avatar Arne Bohnsack Committed by Fabio Baltieri
Browse files

usb: device_next: Fix Mass Storage on STM32



Mass Storage enumeration failed because udc_stm32_ep_mem_config() was only
increasing priv->occupied_mem on endpoint enable, and not decreasing it on
endpoint disable. Fix the issue by decreasing priv->occupied_mem
on endpoint disable.

Signed-off-by: default avatarArne Bohnsack <arne.bohnsack@draeger.com>
parent 06a84bf8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment