Replies: 1 comment 1 reply
-
A memoryview would serve the same purpose (not allocating slices). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Change the code to look like the following:
This avoids calling submit_xfer as follows
Instead, it can be written as:
The former cannot be used in ISR because it causes memory allocation, and allocating in ISR causes MemoryError.
Beta Was this translation helpful? Give feedback.
All reactions