summaryrefslogtreecommitdiff
path: root/SConscript
diff options
context:
space:
mode:
authorTomas Rezucha <[email protected]>2025-04-09 10:52:44 +0200
committerhathach <[email protected]>2025-05-19 20:04:16 +0700
commitc8baba10f9a7a6150348618aec74719522887c93 (patch)
treef3ca07672d84d0878c9f0ac530a6fa1e3aa733af /SConscript
parent3024bff12f584302ec2aaa77bcbbb2faf17b183f (diff)
fix(dcd): Fixed race condition on device disconnect
TinyUSB does not provide any locking means to protect the DCD variables. This can lead to race conditions when the user is trying to submit a transfer while the device is being disconnected. This can cause the device to be in an inconsistent state, leading to a crash or undefined behavior. This commit adds a spin-lock to protect the DCD variables during device disconnect. Closes https://github.com/espressif/esp-idf/issues/9691 Also reported in https://github.com/espressif/esp-usb/pull/131
Diffstat (limited to 'SConscript')
0 files changed, 0 insertions, 0 deletions