Skip to content

usb/cdc: writing small blocks should not require allocation#991

Merged
dpgeorge merged 1 commit intomicropython:masterfrom
smurfix:cdc
Apr 13, 2025
Merged

usb/cdc: writing small blocks should not require allocation#991
dpgeorge merged 1 commit intomicropython:masterfrom
smurfix:cdc

Conversation

@smurfix
Copy link
Copy Markdown
Contributor

@smurfix smurfix commented Mar 26, 2025

Only allocate a memoryview when the (first) write was partial.

Only allocate a memoryview when the (first) write was partial.

Signed-off-by: Matthias Urlichs <matthias@urlichs.de>
@dpgeorge dpgeorge merged commit 9307e21 into micropython:master Apr 13, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants