Skip to content
Discussion options

You must be logged in to vote

Yep creating the memoryview requires an allocation. You can move this to init though as self.mv = self.memoryview(scratch_int) and then just use self.mv in the interrupt handler.

Replies: 1 comment 1 reply

Comment options

andrewleech
Jan 16, 2024
Collaborator Sponsor

You must be logged in to vote
1 reply
@rbmakers
Comment options

Answer selected by rbmakers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants