Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid memory (de)allocation in GPIO ISR handler #2623

Merged
merged 1 commit into from
Nov 19, 2024
Merged

Conversation

earlephilhower
Copy link
Owner

Replace std::map, which can new and delete elements of the tree, with a statically allocated array and housekeeping.

Fixes #2622

Replace std::map, which can `new` and `delete` elements of the tree,
with a statically allocated array and housekeeping.

Fixes #2622
@earlephilhower earlephilhower merged commit 322a1af into master Nov 19, 2024
26 checks passed
@earlephilhower earlephilhower deleted the nomap branch November 19, 2024 20:26
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.

detachInterrupt() within ISR leads to FreeRTOS fatal error
1 participant